diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 10 | ||||
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index e4c46d70..eb41132b 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -55,17 +55,17 @@ ALvoid ReleaseALAuxiliaryEffectSlots(ALCcontext *Context); struct ALeffectState { ALvoid (*Destroy)(ALeffectState *State); - ALvoid (*Update)(ALeffectState *State, ALCcontext *Context, ALeffectslot *Slot, ALeffect *Effect); - ALvoid (*Process)(ALeffectState *State, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[OUTPUTCHANNELS]); + ALvoid (*Update)(ALeffectState *State, ALCcontext *Context, ALeffect *Effect); + ALvoid (*Process)(ALeffectState *State, const ALeffectslot *Slot, ALuint SamplesToDo, const ALfloat *SamplesIn, ALfloat (*SamplesOut)[OUTPUTCHANNELS]); }; ALeffectState *EAXVerbCreate(ALCcontext *Context); ALeffectState *VerbCreate(ALCcontext *Context); ALeffectState *EchoCreate(ALCcontext *Context); -#define ALEffect_Destroy(a) ((a)->Destroy((a))) -#define ALEffect_Update(a,b,c,d) ((a)->Update((a),(b),(c),(d))) -#define ALEffect_Process(a,b,c,d) ((a)->Process((a),(b),(c),(d))) +#define ALEffect_Destroy(a) ((a)->Destroy((a))) +#define ALEffect_Update(a,b,c) ((a)->Update((a),(b),(c))) +#define ALEffect_Process(a,b,c,d,e) ((a)->Process((a),(b),(c),(d),(e))) #ifdef __cplusplus diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index d2e43183..62d153c1 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -491,7 +491,7 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *ALEffectSlot, else if(effect->type == AL_EFFECT_ECHO) ALEffectSlot->EffectState = EchoCreate(Context); } - ALEffect_Update(ALEffectSlot->EffectState, Context, ALEffectSlot, effect); + ALEffect_Update(ALEffectSlot->EffectState, Context, effect); } |