From 7cb803ad5c2ba3678198ff954e4a8c8f565a4668 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 15:05:48 +0200 Subject: test/test_pcm: use C++11 random instead of GLib --- test/test_pcm_volume.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_pcm_volume.cxx') diff --git a/test/test_pcm_volume.cxx b/test/test_pcm_volume.cxx index 1c6730c36..764d8b127 100644 --- a/test/test_pcm_volume.cxx +++ b/test/test_pcm_volume.cxx @@ -94,7 +94,7 @@ PcmVolumeTest::TestVolume24() { constexpr unsigned N = 256; static int32_t zero[N]; - const auto src = TestDataBuffer(GlibRandomInt24()); + const auto src = TestDataBuffer(RandomInt24()); int32_t dest[N]; @@ -158,7 +158,7 @@ PcmVolumeTest::TestVolumeFloat() { constexpr unsigned N = 256; static float zero[N]; - const auto src = TestDataBuffer(GlibRandomFloat()); + const auto src = TestDataBuffer(RandomFloat()); float dest[N]; -- cgit v1.2.3