summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-12 05:59:23 -0700
committerChris Robinson <[email protected]>2011-09-12 05:59:23 -0700
commit404cfde33e0aba9b084a40407a6f3fffd8dd1612 (patch)
tree5567074e3e43c8cdc1d97d358584a3c8b2526dce /Alc
parent145bc6da6b836607c509204e3653688e97eb482c (diff)
Rename the ALEffect_ macros to ALeffectState_ to reflect what they work on
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c4
-rw-r--r--Alc/ALu.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 0916d0ee..7d9793aa 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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);
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 4b4f6778..2b5a6e75 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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;