diff options
author | Chris Robinson <[email protected]> | 2010-12-01 18:33:17 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-12-01 18:33:17 -0800 |
commit | 9e8fb89a525c11685869d963c39e4f1076835d85 (patch) | |
tree | 5fdb70d80718e1ba7632e1b98fbb2fb4ffa0e883 /Alc/alcEcho.c | |
parent | 14441e0e5377884100ed0d3ae3bb753632b896ae (diff) |
Rename OUTPUTCHANNELS to something more descriptive
Diffstat (limited to 'Alc/alcEcho.c')
-rw-r--r-- | Alc/alcEcho.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/alcEcho.c b/Alc/alcEcho.c index e6ecac5c..68549fde 100644 --- a/Alc/alcEcho.c +++ b/Alc/alcEcho.c @@ -49,7 +49,7 @@ typedef struct ALechoState { ALfloat FeedGain; - ALfloat Gain[OUTPUTCHANNELS]; + ALfloat Gain[MAXCHANNELS]; FILTER iirFilter; ALfloat history[2]; @@ -90,7 +90,7 @@ static ALboolean EchoDeviceUpdate(ALeffectState *effect, ALCdevice *Device) for(i = 0;i < state->BufferLength;i++) state->SampleBuffer[i] = 0.0f; - for(i = 0;i < OUTPUTCHANNELS;i++) + for(i = 0;i < MAXCHANNELS;i++) state->Gain[i] = 0.0f; for(i = 0;i < Device->NumChan;i++) { @@ -125,7 +125,7 @@ static ALvoid EchoUpdate(ALeffectState *effect, ALCcontext *Context, const ALeff state->iirFilter.coeff = a; } -static ALvoid EchoProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[OUTPUTCHANNELS]) +static ALvoid EchoProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[MAXCHANNELS]) { ALechoState *state = (ALechoState*)effect; const ALuint mask = state->BufferLength-1; |