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:
@@ -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];
|
||||
|
Reference in New Issue
Block a user