diff options
author | Chris Robinson <[email protected]> | 2017-01-16 08:59:08 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-01-16 08:59:08 -0800 |
commit | 959812ee13e4869309e3c2cf507f6b0458ad8618 (patch) | |
tree | bbced4cf0170a033239301c0ed1ac60fa8f64979 /Alc/uhjfilter.c | |
parent | 325a49975a762744638b56b6a7ddd2ccd40fda55 (diff) |
Use ALsizei in a few more places
Diffstat (limited to 'Alc/uhjfilter.c')
-rw-r--r-- | Alc/uhjfilter.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/uhjfilter.c b/Alc/uhjfilter.c index 0a702873..8e2febae 100644 --- a/Alc/uhjfilter.c +++ b/Alc/uhjfilter.c @@ -16,9 +16,9 @@ static const ALfloat Filter2Coeff[4] = { 0.4021921162426f, 0.8561710882420f, 0.9722909545651f, 0.9952884791278f }; -static void allpass_process(AllPassState *state, ALfloat *restrict dst, const ALfloat *restrict src, const ALfloat aa, ALuint todo) +static void allpass_process(AllPassState *state, ALfloat *restrict dst, const ALfloat *restrict src, const ALfloat aa, ALsizei todo) { - ALuint i; + ALsizei i; if(todo > 1) { @@ -62,15 +62,15 @@ static void allpass_process(AllPassState *state, ALfloat *restrict dst, const AL * know which is the intended result. */ -void EncodeUhj2(Uhj2Encoder *enc, ALfloat *restrict LeftOut, ALfloat *restrict RightOut, ALfloat (*restrict InSamples)[BUFFERSIZE], ALuint SamplesToDo) +void EncodeUhj2(Uhj2Encoder *enc, ALfloat *restrict LeftOut, ALfloat *restrict RightOut, ALfloat (*restrict InSamples)[BUFFERSIZE], ALsizei SamplesToDo) { ALfloat D[MAX_UPDATE_SAMPLES], S[MAX_UPDATE_SAMPLES]; ALfloat temp[2][MAX_UPDATE_SAMPLES]; - ALuint base, i; + ALsizei base, i; for(base = 0;base < SamplesToDo;) { - ALuint todo = minu(SamplesToDo - base, MAX_UPDATE_SAMPLES); + ALsizei todo = mini(SamplesToDo - base, MAX_UPDATE_SAMPLES); /* D = 0.6554516*Y */ for(i = 0;i < todo;i++) |