diff options
author | Chris Robinson <[email protected]> | 2017-08-18 19:20:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-08-18 19:20:30 -0700 |
commit | 5f50d085adbf20dfa07800715762c498a5c87459 (patch) | |
tree | 582ea1701e311d2b6d35e0990a407b9bbe6c0614 /Alc/mixer_sse3.c | |
parent | f75020da5a56fed275b5dafc7ee3750f85ee957f (diff) |
Pass the filter entry to apply to resample_fir4
Diffstat (limited to 'Alc/mixer_sse3.c')
-rw-r--r-- | Alc/mixer_sse3.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |