diff options
author | Chris Robinson <[email protected]> | 2017-05-02 04:54:59 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-02 04:54:59 -0700 |
commit | 53c3d48fe0714f3b7a6cf4d12b28ed611277224d (patch) | |
tree | c9df100395d61ff1fe3280e08f8a1274c22d0aeb /Alc/effects/echo.c | |
parent | 1e5334176eb2bd9bae367218570a5fd24597f827 (diff) |
Change some ALuint parameters to ALsizei
Diffstat (limited to 'Alc/effects/echo.c')
-rw-r--r-- | Alc/effects/echo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/effects/echo.c b/Alc/effects/echo.c index 1c37752f..c0b1bf63 100644 --- a/Alc/effects/echo.c +++ b/Alc/effects/echo.c @@ -53,7 +53,7 @@ typedef struct ALechoState { static ALvoid ALechoState_Destruct(ALechoState *state); static ALboolean ALechoState_deviceUpdate(ALechoState *state, ALCdevice *Device); static ALvoid ALechoState_update(ALechoState *state, const ALCdevice *Device, const ALeffectslot *Slot, const ALeffectProps *props); -static ALvoid ALechoState_process(ALechoState *state, ALuint SamplesToDo, const ALfloat (*restrict SamplesIn)[BUFFERSIZE], ALfloat (*restrict SamplesOut)[BUFFERSIZE], ALuint NumChannels); +static ALvoid ALechoState_process(ALechoState *state, ALsizei SamplesToDo, const ALfloat (*restrict SamplesIn)[BUFFERSIZE], ALfloat (*restrict SamplesOut)[BUFFERSIZE], ALsizei NumChannels); DECLARE_DEFAULT_ALLOCATORS(ALechoState) DEFINE_ALEFFECTSTATE_VTABLE(ALechoState); @@ -142,14 +142,14 @@ static ALvoid ALechoState_update(ALechoState *state, const ALCdevice *Device, co ComputePanningGains(Device->Dry, coeffs, gain, state->Gain[1]); } -static ALvoid ALechoState_process(ALechoState *state, ALuint SamplesToDo, const ALfloat (*restrict SamplesIn)[BUFFERSIZE], ALfloat (*restrict SamplesOut)[BUFFERSIZE], ALuint NumChannels) +static ALvoid ALechoState_process(ALechoState *state, ALsizei SamplesToDo, const ALfloat (*restrict SamplesIn)[BUFFERSIZE], ALfloat (*restrict SamplesOut)[BUFFERSIZE], ALsizei NumChannels) { const ALsizei mask = state->BufferLength-1; const ALsizei tap1 = state->Tap[0].delay; const ALsizei tap2 = state->Tap[1].delay; ALsizei offset = state->Offset; ALfloat x[2], y[2], in, out; - ALuint base, k; + ALsizei base, k; ALsizei i; x[0] = state->Filter.x[0]; |