volume: Fix sample array size for tests

Somewhere in the history of the MMX tests, the number of channels was
changed from 1 to 2, but the number of samples was not increased to make
it even (multiple of the frame size).
This commit is contained in:
Arun Raghavan 2010-10-27 11:30:14 +01:00
parent 50448e1130
commit 516dd169b4
3 changed files with 3 additions and 3 deletions

View file

@ -130,7 +130,7 @@ pa_volume_s16ne_arm (int16_t *samples, int32_t *volumes, unsigned channels, unsi
#ifdef RUN_TEST
#define CHANNELS 2
#define SAMPLES 1023
#define SAMPLES 1022
#define TIMES 1000
#define PADDING 16

View file

@ -243,7 +243,7 @@ pa_volume_s16re_mmx (int16_t *samples, int32_t *volumes, unsigned channels, unsi
#ifdef RUN_TEST
#define CHANNELS 2
#define SAMPLES 1021
#define SAMPLES 1022
#define TIMES 1000
#define PADDING 16

View file

@ -255,7 +255,7 @@ pa_volume_s16re_sse2 (int16_t *samples, int32_t *volumes, unsigned channels, uns
#ifdef RUN_TEST
#define CHANNELS 2
#define SAMPLES 1021
#define SAMPLES 1022
#define TIMES 1000
#define PADDING 16