diff options
author | Chris Robinson <[email protected]> | 2017-04-08 14:29:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-04-08 14:29:08 -0700 |
commit | aef774a7a03485a645edc79ea292abe8c634b8e9 (patch) | |
tree | 4bc9a436fa578c3801cb6e5bbd42eb829a98da7f /Alc/mixer_sse3.c | |
parent | 319d0971986309d7882a9be42a5aef7dc612945d (diff) |
Handle the source offset fraction as an ALsizei
Diffstat (limited to 'Alc/mixer_sse3.c')
-rw-r--r-- | Alc/mixer_sse3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer_sse3.c b/Alc/mixer_sse3.c index 142cd363..78603c87 100644 --- a/Alc/mixer_sse3.c +++ b/Alc/mixer_sse3.c @@ -32,13 +32,13 @@ const ALfloat *Resample_fir4_32_SSE3(const InterpState* UNUSED(state), - const ALfloat *restrict src, ALuint frac, ALint increment, + const ALfloat *restrict src, ALsizei frac, ALint increment, ALfloat *restrict dst, ALsizei numsamples) { const __m128i increment4 = _mm_set1_epi32(increment*4); const __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK); union { alignas(16) ALint i[4]; float f[4]; } pos_; - union { alignas(16) ALuint i[4]; float f[4]; } frac_; + union { alignas(16) ALsizei i[4]; float f[4]; } frac_; __m128i frac4, pos4; ALint pos; ALsizei i; |