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/alcEcho.c | |
parent | 55c5e4fe92eefc4c9208a4f6ac967247a4c4ab34 (diff) |
Pass a device to the effect update functions
Diffstat (limited to 'Alc/alcEcho.c')
-rw-r--r-- | Alc/alcEcho.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/alcEcho.c b/Alc/alcEcho.c index 0a8980a0..150720a6 100644 --- a/Alc/alcEcho.c +++ b/Alc/alcEcho.c @@ -90,10 +90,9 @@ static ALboolean EchoDeviceUpdate(ALeffectState *effect, ALCdevice *Device) return AL_TRUE; } -static ALvoid EchoUpdate(ALeffectState *effect, ALCcontext *Context, const ALeffectslot *Slot) +static ALvoid EchoUpdate(ALeffectState *effect, ALCdevice *Device, const ALeffectslot *Slot) { ALechoState *state = (ALechoState*)effect; - ALCdevice *Device = Context->Device; ALuint frequency = Device->Frequency; ALfloat dirGain, ambientGain; const ALfloat *ChannelGain; |