aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pcm_mix.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 15:05:48 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 15:05:48 +0200
commit7cb803ad5c2ba3678198ff954e4a8c8f565a4668 (patch)
tree6a7357bd8a24fc5fc217ce5e9bc3e02320fa2de6 /test/test_pcm_mix.cxx
parent8e063829c426e447021050eb214a77182269602e (diff)
downloadmpd-7cb803ad5c2ba3678198ff954e4a8c8f565a4668.tar.gz
mpd-7cb803ad5c2ba3678198ff954e4a8c8f565a4668.tar.xz
mpd-7cb803ad5c2ba3678198ff954e4a8c8f565a4668.zip
test/test_pcm: use C++11 random instead of GLib
Diffstat (limited to 'test/test_pcm_mix.cxx')
-rw-r--r--test/test_pcm_mix.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_pcm_mix.cxx b/test/test_pcm_mix.cxx
index 9c78399dc..2a8a11388 100644
--- a/test/test_pcm_mix.cxx
+++ b/test/test_pcm_mix.cxx
@@ -22,7 +22,7 @@
#include "test_pcm_util.hxx"
#include "pcm/PcmMix.hxx"
-template<typename T, SampleFormat format, typename G=GlibRandomInt<T>>
+template<typename T, SampleFormat format, typename G=RandomInt<T>>
static void
TestPcmMix(G g=G())
{
@@ -72,7 +72,7 @@ PcmMixTest::TestMix16()
void
PcmMixTest::TestMix24()
{
- TestPcmMix<int32_t, SampleFormat::S24_P32>(GlibRandomInt24());
+ TestPcmMix<int32_t, SampleFormat::S24_P32>(RandomInt24());
}
void