aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pcm_pack.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pcm_pack.cxx')
-rw-r--r--test/test_pcm_pack.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_pcm_pack.cxx b/test/test_pcm_pack.cxx
index 0033ceb07..cab78c499 100644
--- a/test/test_pcm_pack.cxx
+++ b/test/test_pcm_pack.cxx
@@ -22,13 +22,11 @@
#include "pcm/PcmPack.hxx"
#include "system/ByteOrder.hxx"
-#include <glib.h>
-
void
PcmPackTest::TestPack24()
{
constexpr unsigned N = 256;
- const auto src = TestDataBuffer<int32_t, N>(GlibRandomInt24());
+ const auto src = TestDataBuffer<int32_t, N>(RandomInt24());
uint8_t dest[N * 3];
pcm_pack_24(dest, src.begin(), src.end());