diff options
author | Max Kellermann <max@duempel.org> | 2013-08-03 21:00:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-03 21:37:56 +0200 |
commit | d1e7b4e38136f9342aad76c685a13adf0e69f869 (patch) | |
tree | 49643b937ddfe735511b566a71398da5a945d7aa /test/test_pcm_mix.cxx | |
parent | 67f591a9ce60651da41afc499bd9a22e25314e35 (diff) |
audio_format: convert to C++
Diffstat (limited to 'test/test_pcm_mix.cxx')
-rw-r--r-- | test/test_pcm_mix.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_pcm_mix.cxx b/test/test_pcm_mix.cxx index b4d8486bf..b0e89639c 100644 --- a/test/test_pcm_mix.cxx +++ b/test/test_pcm_mix.cxx @@ -24,7 +24,7 @@ #include <glib.h> -template<typename T, sample_format format, typename G=GlibRandomInt<T>> +template<typename T, SampleFormat format, typename G=GlibRandomInt<T>> void TestPcmMix(G g=G()) { @@ -62,23 +62,23 @@ TestPcmMix(G g=G()) void test_pcm_mix_8() { - TestPcmMix<int8_t, SAMPLE_FORMAT_S8>(); + TestPcmMix<int8_t, SampleFormat::S8>(); } void test_pcm_mix_16() { - TestPcmMix<int16_t, SAMPLE_FORMAT_S16>(); + TestPcmMix<int16_t, SampleFormat::S16>(); } void test_pcm_mix_24() { - TestPcmMix<int32_t, SAMPLE_FORMAT_S24_P32>(GlibRandomInt24()); + TestPcmMix<int32_t, SampleFormat::S24_P32>(GlibRandomInt24()); } void test_pcm_mix_32() { - TestPcmMix<int32_t, SAMPLE_FORMAT_S32>(); + TestPcmMix<int32_t, SampleFormat::S32>(); } |