diff options
author | Chris Robinson <[email protected]> | 2012-03-13 14:49:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-13 14:49:58 -0700 |
commit | b5ed2a5351c065fb1de5ecc52e3d981458cd2f2c (patch) | |
tree | 2f7d3e15ebb4905390a5e3e5554c8acdf8701f41 /Alc/alcModulator.c | |
parent | 55c5e4fe92eefc4c9208a4f6ac967247a4c4ab34 (diff) |
Pass a device to the effect update functions
Diffstat (limited to 'Alc/alcModulator.c')
-rw-r--r-- | Alc/alcModulator.c | 3 |
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; |