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

View File

@@ -24,7 +24,7 @@
void
PcmDitherTest::TestDither24()
{
constexpr unsigned N = 256;
constexpr unsigned N = 509;
const auto src = TestDataBuffer<int32_t, N>(RandomInt24());
int16_t dest[N];
@@ -40,7 +40,7 @@ PcmDitherTest::TestDither24()
void
PcmDitherTest::TestDither32()
{
constexpr unsigned N = 256;
constexpr unsigned N = 509;
const auto src = TestDataBuffer<int32_t, N>();
int16_t dest[N];