diff options
author | Max Kellermann <max@duempel.org> | 2014-03-15 10:49:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-03-15 10:53:13 +0100 |
commit | 3932e62fc7d8bc05e4f77c1b3cd69fd314cee3d1 (patch) | |
tree | c14b8ff0404fad7c68a058ad1b301dbe9b326a21 /test/test_pcm_channels.cxx | |
parent | 729304aef54ddecfb124c168ec1160f3bf970a47 (diff) | |
download | mpd-3932e62fc7d8bc05e4f77c1b3cd69fd314cee3d1.tar.gz mpd-3932e62fc7d8bc05e4f77c1b3cd69fd314cee3d1.tar.xz mpd-3932e62fc7d8bc05e4f77c1b3cd69fd314cee3d1.zip |
test/test_pcm: replace 256 with prime number
Use some odd number that will expose problems with remaining samples
after optimized vector operations.
Diffstat (limited to '')
-rw-r--r-- | test/test_pcm_channels.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_pcm_channels.cxx b/test/test_pcm_channels.cxx index a36fb39f3..748a76351 100644 --- a/test/test_pcm_channels.cxx +++ b/test/test_pcm_channels.cxx @@ -27,7 +27,7 @@ void PcmChannelsTest::TestChannels16() { - constexpr size_t N = 256; + constexpr size_t N = 509; const auto src = TestDataBuffer<int16_t, N * 2>(); PcmBuffer buffer; @@ -55,7 +55,7 @@ PcmChannelsTest::TestChannels16() void PcmChannelsTest::TestChannels32() { - constexpr size_t N = 256; + constexpr size_t N = 509; const auto src = TestDataBuffer<int32_t, N * 2>(); PcmBuffer buffer; |