aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcModulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alcModulator.c')
-rw-r--r--Alc/alcModulator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/alcModulator.c b/Alc/alcModulator.c
index 328e1678..2cdbcd0b 100644
--- a/Alc/alcModulator.c
+++ b/Alc/alcModulator.c
@@ -127,10 +127,9 @@ static ALboolean ModulatorDeviceUpdate(ALeffectState *effect, ALCdevice *Device)
(void)Device;
}
-static ALvoid ModulatorUpdate(ALeffectState *effect, ALCcontext *Context, const ALeffectslot *Slot)
+static ALvoid ModulatorUpdate(ALeffectState *effect, ALCdevice *Device, const ALeffectslot *Slot)
{
ALmodulatorState *state = (ALmodulatorState*)effect;
- ALCdevice *Device = Context->Device;
ALfloat gain, cw, a = 0.0f;
ALuint index;