aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse41.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-08-18 19:20:30 -0700
committerChris Robinson <[email protected]>2017-08-18 19:20:30 -0700
commit5f50d085adbf20dfa07800715762c498a5c87459 (patch)
tree582ea1701e311d2b6d35e0990a407b9bbe6c0614 /Alc/mixer_sse41.c
parentf75020da5a56fed275b5dafc7ee3750f85ee957f (diff)
Pass the filter entry to apply to resample_fir4
Diffstat (limited to 'Alc/mixer_sse41.c')
-rw-r--r--Alc/mixer_sse41.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer_sse41.c b/Alc/mixer_sse41.c
index 20a9d9c7..354d16b7 100644
--- a/Alc/mixer_sse41.c
+++ b/Alc/mixer_sse41.c
@@ -145,7 +145,7 @@ const ALfloat *Resample_fir4_SSE41(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;