aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcEcho.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/alcEcho.c
parent0dc5837b827813a2c48b5a099e62da65c0e5876e (diff)
Remove the effect slot parameter from the effect process method
Diffstat (limited to 'Alc/alcEcho.c')
-rw-r--r--Alc/alcEcho.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/alcEcho.c b/Alc/alcEcho.c
index f5d1174f..76249d87 100644
--- a/Alc/alcEcho.c
+++ b/Alc/alcEcho.c
@@ -125,7 +125,7 @@ static ALvoid EchoUpdate(ALeffectState *effect, ALCcontext *Context, const ALeff
}
}
-static ALvoid EchoProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[MAXCHANNELS])
+static ALvoid EchoProcess(ALeffectState *effect, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[MAXCHANNELS])
{
ALechoState *state = (ALechoState*)effect;
const ALuint mask = state->BufferLength-1;
@@ -134,7 +134,6 @@ static ALvoid EchoProcess(ALeffectState *effect, const ALeffectslot *Slot, ALuin
ALuint offset = state->Offset;
ALfloat samp[2], smp;
ALuint i;
- (void)Slot;
for(i = 0;i < SamplesToDo;i++,offset++)
{