From 5f50d085adbf20dfa07800715762c498a5c87459 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 18 Aug 2017 19:20:30 -0700 Subject: Pass the filter entry to apply to resample_fir4 --- Alc/mixer_sse3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/mixer_sse3.c') diff --git a/Alc/mixer_sse3.c b/Alc/mixer_sse3.c index 7e98105c..d60fed5f 100644 --- a/Alc/mixer_sse3.c +++ b/Alc/mixer_sse3.c @@ -88,7 +88,7 @@ const ALfloat *Resample_fir4_SSE3(const InterpState *state, for(;i < numsamples;i++) { - dst[i] = resample_fir4(filter, src[pos], src[pos+1], src[pos+2], src[pos+3], frac); + dst[i] = resample_fir4(src[pos], src[pos+1], src[pos+2], src[pos+3], filter[frac]); frac += increment; pos += frac>>FRACTIONBITS; -- cgit v1.2.3