aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer/mixer_sse41.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-09-18 19:08:13 -0700
committerChris Robinson <[email protected]>2018-09-18 19:08:13 -0700
commit9ef4dd42474c3ecc266362df47fd5a6cca8dcbb4 (patch)
treeb78fd1df50c6369cdf7611034fbf97e5afbc2acb /Alc/mixer/mixer_sse41.c
parent952ff84b994b72ec39e97e2441a422085884932a (diff)
Use ALsizei for the source resample position
Diffstat (limited to 'Alc/mixer/mixer_sse41.c')
-rw-r--r--Alc/mixer/mixer_sse41.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/mixer/mixer_sse41.c b/Alc/mixer/mixer_sse41.c
index 128acadf..e92a3dd0 100644
--- a/Alc/mixer/mixer_sse41.c
+++ b/Alc/mixer/mixer_sse41.c
@@ -35,8 +35,7 @@ const ALfloat *Resample_lerp_SSE41(const InterpState* UNUSED(state),
const __m128i increment4 = _mm_set1_epi32(increment*4);
const __m128 fracOne4 = _mm_set1_ps(1.0f/FRACTIONONE);
const __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK);
- ALint pos_[4];
- ALsizei frac_[4];
+ alignas(16) ALsizei pos_[4], frac_[4];
__m128i frac4, pos4;
ALsizei todo, pos, i;