aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse3.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer_sse3.c')
-rw-r--r--Alc/mixer_sse3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/mixer_sse3.c b/Alc/mixer_sse3.c
index dbf963ff..acb0338a 100644
--- a/Alc/mixer_sse3.c
+++ b/Alc/mixer_sse3.c
@@ -78,8 +78,8 @@ const ALfloat *Resample_fir4_32_SSE3(const ALfloat *src, ALuint frac, ALuint inc
_mm_store_ps(frac_.f, _mm_castsi128_ps(frac4));
}
- pos = pos_.i[0];
- frac = frac_.i[0];
+ pos = pos_.i[3];
+ frac = frac_.i[3];
for(;i < numsamples;i++)
{
@@ -143,8 +143,8 @@ const ALfloat *Resample_fir8_32_SSE3(const ALfloat *src, ALuint frac, ALuint inc
_mm_store_ps(frac_.f, _mm_castsi128_ps(frac4));
}
- pos = pos_.i[0];
- frac = frac_.i[0];
+ pos = pos_.i[3];
+ frac = frac_.i[3];
for(;i < numsamples;i++)
{