audio-resampler: overread only 8 taps
authorWim Taymans <wtaymans@redhat.com>
Wed, 24 Feb 2016 11:56:39 +0000 (12:56 +0100)
committerWim Taymans <wtaymans@redhat.com>
Mon, 28 Mar 2016 11:25:54 +0000 (13:25 +0200)
We only need 8 taps of zeroes as headroom for the SIMD optimized
functions.

gst-libs/gst/audio/audio-resampler.c

index a140812..84e49aa 100644 (file)
@@ -61,7 +61,7 @@ typedef void (*DeinterleaveFunc) (GstAudioResampler * resampler,
 
 #define MEM_ALIGN(m,a) ((gint8 *)((guintptr)((gint8 *)(m) + ((a)-1)) & ~((a)-1)))
 #define ALIGN 16
-#define TAPS_OVERREAD 16
+#define TAPS_OVERREAD 8
 
 struct _GstAudioResampler
 {