aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_c.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_c.c
parentf75020da5a56fed275b5dafc7ee3750f85ee957f (diff)
Pass the filter entry to apply to resample_fir4
Diffstat (limited to 'Alc/mixer_c.c')
-rw-r--r--Alc/mixer_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c
index 738789f9..1635476a 100644
--- a/Alc/mixer_c.c
+++ b/Alc/mixer_c.c
@@ -59,7 +59,7 @@ const ALfloat *Resample_fir4_C(const InterpState *state, const ALfloat *restrict
src -= 1;
for(i = 0;i < numsamples;i++)
{
- dst[i] = resample_fir4(filter, src[0], src[1], src[2], src[3], frac);
+ dst[i] = resample_fir4(src[0], src[1], src[2], src[3], filter[frac]);
frac += increment;
src += frac>>FRACTIONBITS;