diff options
author | Chris Robinson <[email protected]> | 2013-05-25 17:42:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-25 17:42:34 -0700 |
commit | 2da6caeaa61338ccbea9a7cbc022be932bb4e0e1 (patch) | |
tree | 94d6f50eb92ae840e2be6b913e62edb57814f5cc /Alc/effects/reverb.c | |
parent | e157238ce7467b6d3dbabb66f1308bb0bd87473e (diff) |
Update the Null effect so it can act as a guide to new effects
Diffstat (limited to 'Alc/effects/reverb.c')
-rw-r--r-- | Alc/effects/reverb.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c index eb47f27f..b634dd1c 100644 --- a/Alc/effects/reverb.c +++ b/Alc/effects/reverb.c @@ -561,8 +561,6 @@ static __inline ALvoid EAXVerbPass(ALreverbState *State, ALfloat in, ALfloat *re State->Offset++; } -// This processes the standard reverb state, given the input samples and an -// output buffer. static ALvoid ALreverbState_ProcessStandard(ALreverbState *State, ALuint SamplesToDo, const ALfloat *restrict SamplesIn, ALfloat (*restrict SamplesOut)[BUFFERSIZE]) { ALfloat (*restrict out)[4] = State->ReverbSamples; @@ -583,8 +581,6 @@ static ALvoid ALreverbState_ProcessStandard(ALreverbState *State, ALuint Samples } } -// This processes the EAX reverb state, given the input samples and an output -// buffer. static ALvoid ALreverbState_ProcessEax(ALreverbState *State, ALuint SamplesToDo, const ALfloat *restrict SamplesIn, ALfloat (*restrict SamplesOut)[BUFFERSIZE]) { ALfloat (*restrict early)[4] = State->EarlySamples; @@ -735,9 +731,6 @@ static ALboolean AllocLines(ALuint frequency, ALreverbState *State) return AL_TRUE; } -// This updates the device-dependant EAX reverb state. This is called on -// initialization and any time the device parameters (eg. playback frequency, -// format) have been changed. static ALboolean ALreverbState_DeviceUpdate(ALreverbState *State, ALCdevice *Device) { ALuint frequency = Device->Frequency, index; @@ -1087,8 +1080,6 @@ static ALvoid Update3DPanning(const ALCdevice *Device, const ALfloat *Reflection lerp(ambientGain, 1.0f, dirGain) * Gain, State->Late.PanGain); } -// This updates the EAX reverb state. This is called any time the EAX reverb -// effect is loaded into a slot. static ALvoid ALreverbState_Update(ALreverbState *State, ALCdevice *Device, const ALeffectslot *Slot) { ALuint frequency = Device->Frequency; @@ -1176,8 +1167,7 @@ static ALvoid ALreverbState_Update(ALreverbState *State, ALCdevice *Device, cons } } -// This destroys the reverb state. It should be called only when the effect -// slot has a different (or no) effect loaded over the reverb effect. + static ALvoid ALreverbState_Destruct(ALreverbState *State) { free(State->SampleBuffer); |