test/test_pcm: replace 256 with prime number

Use some odd number that will expose problems with remaining samples
after optimized vector operations.
This commit is contained in:
Max Kellermann
2014-03-15 10:49:50 +01:00
parent 729304aef5
commit 3932e62fc7
6 changed files with 13 additions and 13 deletions

@ -25,7 +25,7 @@
void
PcmPackTest::TestPack24()
{
constexpr unsigned N = 256;
constexpr unsigned N = 509;
const auto src = TestDataBuffer<int32_t, N>(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<uint8_t, N * 3>();
int32_t dest[N];