aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_c.c
diff options
context:
space:
mode:
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;