diff options
author | Johannes Schickel | 2010-02-03 15:24:03 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-02-03 15:24:03 +0000 |
commit | ba5e2b336279ba524f5e86fa0ca0b732ac157e58 (patch) | |
tree | dfaadb2a62478ef6e746926666606a8f2a0059bc | |
parent | b6a824f48f0d0c56542b781a918a2c4fd719e5a8 (diff) | |
download | scummvm-rg350-ba5e2b336279ba524f5e86fa0ca0b732ac157e58.tar.gz scummvm-rg350-ba5e2b336279ba524f5e86fa0ca0b732ac157e58.tar.bz2 scummvm-rg350-ba5e2b336279ba524f5e86fa0ca0b732ac157e58.zip |
Cleanup.
svn-id: r47852
-rw-r--r-- | test/sound/raw.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<typename T> - 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<T>::max(); @@ -30,7 +30,7 @@ public: } template<typename T> - Audio::SeekableAudioStream *createSineStream(int sampleRate, int time, const T **sineP) { + static Audio::SeekableAudioStream *createSineStream(int sampleRate, int time, const T **sineP) { T *sine = createSine<T>(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; |