diff options
author | Chris Robinson <[email protected]> | 2017-01-16 08:54:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-01-16 08:54:30 -0800 |
commit | 325a49975a762744638b56b6a7ddd2ccd40fda55 (patch) | |
tree | 786d37a90accef04e019abb824cdf13055098112 /Alc/mixer_sse.c | |
parent | cbb796bf31cd3acfba0ce35e71a51d03e7e26021 (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.c | 9 |
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++) |