aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pcm_volume.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_volume.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 '')
-rw-r--r--test/test_pcm_volume.cxx4
1 files changed, 2 insertions, 2 deletions
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<int32_t, N>(GlibRandomInt24());
+ const auto src = TestDataBuffer<int32_t, N>(RandomInt24());
int32_t dest[N];
@@ -158,7 +158,7 @@ PcmVolumeTest::TestVolumeFloat()
{
constexpr unsigned N = 256;
static float zero[N];
- const auto src = TestDataBuffer<float, N>(GlibRandomFloat());
+ const auto src = TestDataBuffer<float, N>(RandomFloat());
float dest[N];