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

@ -29,7 +29,7 @@
void
PcmFormatTest::TestFormat8to16()
{
constexpr size_t N = 256;
constexpr size_t N = 509;
const auto src = TestDataBuffer<int8_t, N>();
PcmBuffer buffer;
@ -45,7 +45,7 @@ PcmFormatTest::TestFormat8to16()
void
PcmFormatTest::TestFormat16to24()
{
constexpr size_t N = 256;
constexpr size_t N = 509;
const auto src = TestDataBuffer<int16_t, N>();
PcmBuffer buffer;
@ -60,7 +60,7 @@ PcmFormatTest::TestFormat16to24()
void
PcmFormatTest::TestFormat16to32()
{
constexpr size_t N = 256;
constexpr size_t N = 509;
const auto src = TestDataBuffer<int16_t, N>();
PcmBuffer buffer;
@ -75,7 +75,7 @@ PcmFormatTest::TestFormat16to32()
void
PcmFormatTest::TestFormatFloat()
{
constexpr size_t N = 256;
constexpr size_t N = 509;
const auto src = TestDataBuffer<int16_t, N>();
PcmBuffer buffer1, buffer2;