mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
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:
parent
50448e1130
commit
516dd169b4
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue