aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse41.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-09-29 18:27:11 -0700
committerChris Robinson <[email protected]>2015-09-29 20:39:12 -0700
commitdc10e56babf61b62c6cc779414103d7183100c58 (patch)
tree302dd43223b8c3678cbc726655de628bf5b617fb /Alc/mixer_sse41.c
parente13d553aefe68f63c1c7d479df80c44f4ab70a0f (diff)
Implement a 6-point sinc-lanczos filter
Diffstat (limited to 'Alc/mixer_sse41.c')
-rw-r--r--Alc/mixer_sse41.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/mixer_sse41.c b/Alc/mixer_sse41.c
index c85a733d..b9ef608a 100644
--- a/Alc/mixer_sse41.c
+++ b/Alc/mixer_sse41.c
@@ -104,10 +104,10 @@ const ALfloat *Resample_fir4_32_SSE41(const ALfloat *src, ALuint frac, ALuint in
const __m128 val1 = _mm_loadu_ps(&src[pos_.i[1]]);
const __m128 val2 = _mm_loadu_ps(&src[pos_.i[2]]);
const __m128 val3 = _mm_loadu_ps(&src[pos_.i[3]]);
- __m128 k0 = _mm_load_ps(ResampleCoeffs[frac_.i[0]]);
- __m128 k1 = _mm_load_ps(ResampleCoeffs[frac_.i[1]]);
- __m128 k2 = _mm_load_ps(ResampleCoeffs[frac_.i[2]]);
- __m128 k3 = _mm_load_ps(ResampleCoeffs[frac_.i[3]]);
+ __m128 k0 = _mm_load_ps(ResampleCoeffs.FIR4[frac_.i[0]]);
+ __m128 k1 = _mm_load_ps(ResampleCoeffs.FIR4[frac_.i[1]]);
+ __m128 k2 = _mm_load_ps(ResampleCoeffs.FIR4[frac_.i[2]]);
+ __m128 k3 = _mm_load_ps(ResampleCoeffs.FIR4[frac_.i[3]]);
__m128 out;
k0 = _mm_mul_ps(k0, val0);