aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-01-16 08:54:30 -0800
committerChris Robinson <[email protected]>2017-01-16 08:54:30 -0800
commit325a49975a762744638b56b6a7ddd2ccd40fda55 (patch)
tree786d37a90accef04e019abb824cdf13055098112 /Alc/mixer_sse.c
parentcbb796bf31cd3acfba0ce35e71a51d03e7e26021 (diff)
Use ALsizei and ALint for sizes and offsets with resamplers and filters
Diffstat (limited to 'Alc/mixer_sse.c')
-rw-r--r--Alc/mixer_sse.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c
index bad08e2d..96228b47 100644
--- a/Alc/mixer_sse.c
+++ b/Alc/mixer_sse.c
@@ -13,16 +13,15 @@
const ALfloat *Resample_bsinc32_SSE(const BsincState *state, const ALfloat *restrict src,
- ALuint frac, ALuint increment, ALfloat *restrict dst,
- ALuint dstlen)
+ ALuint frac, ALint increment, ALfloat *restrict dst,
+ ALsizei dstlen)
{
const __m128 sf4 = _mm_set1_ps(state->sf);
- const ALuint m = state->m;
+ const ALsizei m = state->m;
const ALint l = state->l;
const ALfloat *fil, *scd, *phd, *spd;
- ALuint pi, j_f, i;
+ ALsizei j_s, pi, j_f, i;
ALfloat pf;
- ALint j_s;
__m128 r4;
for(i = 0;i < dstlen;i++)