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 /Alc | |
parent | 145bc6da6b836607c509204e3653688e97eb482c (diff) |
Rename the ALEffect_ macros to ALeffectState_ to reflect what they work on
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 4 | ||||
-rw-r--r-- | Alc/ALu.c | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1218,7 +1218,7 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) { ALeffectslot *slot = context->EffectSlotMap.array[pos].value; - if(ALEffect_DeviceUpdate(slot->EffectState, device) == AL_FALSE) + if(ALeffectState_DeviceUpdate(slot->EffectState, device) == AL_FALSE) { UnlockUIntMapRead(&context->EffectSlotMap); UnlockDevice(device); @@ -1227,7 +1227,7 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) return ALC_FALSE; } slot->NeedsUpdate = AL_FALSE; - ALEffect_Update(slot->EffectState, context, slot); + ALeffectState_Update(slot->EffectState, context, slot); } UnlockUIntMapRead(&context->EffectSlotMap); @@ -1004,10 +1004,10 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) (*slot)->PendingClicks[0] = 0.0f; if(!DeferUpdates && ExchangeInt(&(*slot)->NeedsUpdate, AL_FALSE)) - ALEffect_Update((*slot)->EffectState, ctx, *slot); + ALeffectState_Update((*slot)->EffectState, ctx, *slot); - ALEffect_Process((*slot)->EffectState, SamplesToDo, - (*slot)->WetBuffer, device->DryBuffer); + ALeffectState_Process((*slot)->EffectState, SamplesToDo, + (*slot)->WetBuffer, device->DryBuffer); for(i = 0;i < SamplesToDo;i++) (*slot)->WetBuffer[i] = 0.0f; |