From 3932e62fc7d8bc05e4f77c1b3cd69fd314cee3d1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 15 Mar 2014 10:49:50 +0100 Subject: test/test_pcm: replace 256 with prime number Use some odd number that will expose problems with remaining samples after optimized vector operations. --- test/test_pcm_pack.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_pcm_pack.cxx') diff --git a/test/test_pcm_pack.cxx b/test/test_pcm_pack.cxx index 161e13145..fff3e10f0 100644 --- a/test/test_pcm_pack.cxx +++ b/test/test_pcm_pack.cxx @@ -25,7 +25,7 @@ void PcmPackTest::TestPack24() { - constexpr unsigned N = 256; + constexpr unsigned N = 509; const auto src = TestDataBuffer(RandomInt24()); uint8_t dest[N * 3]; @@ -49,7 +49,7 @@ PcmPackTest::TestPack24() void PcmPackTest::TestUnpack24() { - constexpr unsigned N = 256; + constexpr unsigned N = 509; const auto src = TestDataBuffer(); int32_t dest[N]; -- cgit v1.2.3