test/test_pcm: use C++11 random instead of GLib

This commit is contained in:
Max Kellermann
2013-10-19 15:05:48 +02:00
parent 8e063829c4
commit 7cb803ad5c
5 changed files with 28 additions and 20 deletions

View File

@@ -25,7 +25,7 @@ void
PcmDitherTest::TestDither24()
{
constexpr unsigned N = 256;
const auto src = TestDataBuffer<int32_t, N>(GlibRandomInt24());
const auto src = TestDataBuffer<int32_t, N>(RandomInt24());
int16_t dest[N];
PcmDither dither;