diff options
author | Chris Robinson <[email protected]> | 2012-10-14 10:16:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-10-14 10:27:15 -0700 |
commit | 5ac0a93fbab37cfce1b1a2546295eee37e7ee2d4 (patch) | |
tree | 4671534ed04a5b8252532231d1ced55ae11ae31b /Alc/alcEcho.c | |
parent | f7655d44a266a4eeadd7d14921363594b64ac15f (diff) |
Mark some parameters as const and/or RESTRICT
Diffstat (limited to 'Alc/alcEcho.c')
-rw-r--r-- | Alc/alcEcho.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcEcho.c b/Alc/alcEcho.c index 1a586488..9ca91747 100644 --- a/Alc/alcEcho.c +++ b/Alc/alcEcho.c @@ -126,7 +126,7 @@ static ALvoid EchoUpdate(ALeffectState *effect, ALCdevice *Device, const ALeffec ComputeAngleGains(Device, atan2f(+lrpan, 0.0f), (1.0f-dirGain)*F_PI, gain, state->Gain[1]); } -static ALvoid EchoProcess(ALeffectState *effect, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[BUFFERSIZE]) +static ALvoid EchoProcess(ALeffectState *effect, ALuint SamplesToDo, const ALfloat *RESTRICT SamplesIn, ALfloat (*RESTRICT SamplesOut)[BUFFERSIZE]) { ALechoState *state = (ALechoState*)effect; const ALuint mask = state->BufferLength-1; |