aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcReverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-12 00:44:52 -0700
committerChris Robinson <[email protected]>2011-09-12 00:44:52 -0700
commit0ceea27b44919b406e4ef7b89b13a1bbf71e10eb (patch)
tree412d09eca8425f18e0a79e5f844fe7ba9d580d13 /Alc/alcReverb.c
parent0dc5837b827813a2c48b5a099e62da65c0e5876e (diff)
Remove the effect slot parameter from the effect process method
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r--Alc/alcReverb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c
index 562587e6..425b7052 100644
--- a/Alc/alcReverb.c
+++ b/Alc/alcReverb.c
@@ -522,13 +522,12 @@ static __inline ALvoid EAXVerbPass(ALverbState *State, ALfloat in, ALfloat *earl
// This processes the reverb state, given the input samples and an output
// buffer.
-static ALvoid VerbProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[MAXCHANNELS])
+static ALvoid VerbProcess(ALeffectState *effect, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[MAXCHANNELS])
{
ALverbState *State = (ALverbState*)effect;
ALuint index;
ALfloat early[4], late[4], out[4];
const ALfloat *panGain = State->Gain;
- (void)Slot;
for(index = 0;index < SamplesToDo;index++)
{
@@ -555,12 +554,11 @@ static ALvoid VerbProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuin
// This processes the EAX reverb state, given the input samples and an output
// buffer.
-static ALvoid EAXVerbProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[MAXCHANNELS])
+static ALvoid EAXVerbProcess(ALeffectState *effect, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[MAXCHANNELS])
{
ALverbState *State = (ALverbState*)effect;
ALuint index;
ALfloat early[4], late[4];
- (void)Slot;
for(index = 0;index < SamplesToDo;index++)
{