From 516dd169b493e37c8445cb68831529020272d0d5 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Wed, 27 Oct 2010 11:30:14 +0100 Subject: 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). --- src/pulsecore/svolume_mmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulsecore/svolume_mmx.c') diff --git a/src/pulsecore/svolume_mmx.c b/src/pulsecore/svolume_mmx.c index 5bfe6d4f..2ffd608b 100644 --- a/src/pulsecore/svolume_mmx.c +++ b/src/pulsecore/svolume_mmx.c @@ -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 -- cgit