aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alAuxEffectSlot.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-16 03:02:16 -0700
committerChris Robinson <[email protected]>2011-07-16 03:02:16 -0700
commit3bd7256dc826f21b30e90c9d761e8d5639700afe (patch)
tree275acee6c06705b4504dfd797fc073430e6626e3 /OpenAL32/alAuxEffectSlot.c
parentda2429a1d0ad184abe24f61aa7e064b81026651c (diff)
Pass the effect slot to the effect update method
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r--OpenAL32/alAuxEffectSlot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index b4046c71..797c8237 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -435,11 +435,11 @@ static ALboolean NoneDeviceUpdate(ALeffectState *State, ALCdevice *Device)
(void)State;
(void)Device;
}
-static ALvoid NoneUpdate(ALeffectState *State, ALCcontext *Context, const ALeffect *Effect)
+static ALvoid NoneUpdate(ALeffectState *State, ALCcontext *Context, const ALeffectslot *Slot)
{
(void)State;
(void)Context;
- (void)Effect;
+ (void)Slot;
}
static ALvoid NoneProcess(ALeffectState *State, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[MAXCHANNELS])
{
@@ -506,7 +506,7 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, AL
* be called (coming changes may not guarantee an update when the
* NeedsUpdate flag is set). */
EffectSlot->NeedsUpdate = AL_FALSE;
- ALEffect_Update(EffectSlot->EffectState, Context, &EffectSlot->effect);
+ ALEffect_Update(EffectSlot->EffectState, Context, EffectSlot);
}
else
{