From ba5e2b336279ba524f5e86fa0ca0b732ac157e58 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 3 Feb 2010 15:24:03 +0000 Subject: Cleanup. svn-id: r47852 --- test/sound/raw.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/sound/raw.h') diff --git a/test/sound/raw.h b/test/sound/raw.h index bedee869ec..69ee4d182f 100644 --- a/test/sound/raw.h +++ b/test/sound/raw.h @@ -12,7 +12,7 @@ class RawStreamTestSuite : public CxxTest::TestSuite { public: template - T *createSine(int sampleRate, int time) { + static T *createSine(int sampleRate, int time) { T *sine = (T *)malloc(sizeof(T) * time * sampleRate); const T maxValue = std::numeric_limits::max(); @@ -30,7 +30,7 @@ public: } template - Audio::SeekableAudioStream *createSineStream(int sampleRate, int time, const T **sineP) { + static Audio::SeekableAudioStream *createSineStream(int sampleRate, int time, const T **sineP) { T *sine = createSine(sampleRate, time); Common::SeekableReadStream *sD = new Common::MemoryReadStream((const byte *)sine, sizeof(T) * sampleRate * time, DisposeAfterUse::YES); @@ -61,7 +61,7 @@ public: delete s; } - void test_read_buffer_16_bit_mono() { + void test_read_buffer_16_bit_be_mono() { const int sampleRate = 11025; const int time = 2; -- cgit v1.2.3