diff options
author | Chris Robinson <[email protected]> | 2011-09-12 05:59:23 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-12 05:59:23 -0700 |
commit | 404cfde33e0aba9b084a40407a6f3fffd8dd1612 (patch) | |
tree | 5567074e3e43c8cdc1d97d358584a3c8b2526dce /OpenAL32/alAuxEffectSlot.c | |
parent | 145bc6da6b836607c509204e3653688e97eb482c (diff) |
Rename the ALEffect_ macros to ALeffectState_ to reflect what they work on
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index 33831d29..df042815 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -100,7 +100,7 @@ AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslo { RemoveEffectSlotArray(Context, slot); FreeThunkEntry(slot->effectslot); - ALEffect_Destroy(slot->EffectState); + ALeffectState_Destroy(slot->EffectState); free(slot); alSetError(Context, err); @@ -154,7 +154,7 @@ AL_API ALvoid AL_APIENTRY alDeleteAuxiliaryEffectSlots(ALsizei n, ALuint *effect FreeThunkEntry(EffectSlot->effectslot); RemoveEffectSlotArray(Context, EffectSlot); - ALEffect_Destroy(EffectSlot->EffectState); + ALeffectState_Destroy(EffectSlot->EffectState); memset(EffectSlot, 0, sizeof(ALeffectslot)); free(EffectSlot); @@ -564,10 +564,10 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, AL if(State) { - if(ALEffect_DeviceUpdate(State, Context->Device) == AL_FALSE) + if(ALeffectState_DeviceUpdate(State, Context->Device) == AL_FALSE) { UnlockContext(Context); - ALEffect_Destroy(State); + ALeffectState_Destroy(State); alSetError(Context, AL_OUT_OF_MEMORY); return; } @@ -581,10 +581,10 @@ static ALvoid InitializeEffect(ALCcontext *Context, ALeffectslot *EffectSlot, AL * object was changed, it needs an update before its Process method can * be called. */ EffectSlot->NeedsUpdate = AL_FALSE; - ALEffect_Update(EffectSlot->EffectState, Context, EffectSlot); + ALeffectState_Update(EffectSlot->EffectState, Context, EffectSlot); UnlockContext(Context); - ALEffect_Destroy(State); + ALeffectState_Destroy(State); State = NULL; } else @@ -608,7 +608,7 @@ ALvoid ReleaseALAuxiliaryEffectSlots(ALCcontext *Context) Context->EffectSlotMap.array[pos].value = NULL; // Release effectslot structure - ALEffect_Destroy(temp->EffectState); + ALeffectState_Destroy(temp->EffectState); FreeThunkEntry(temp->effectslot); memset(temp, 0, sizeof(ALeffectslot)); |