aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-03-16 15:37:41 -0700
committerChris Robinson <[email protected]>2010-03-16 15:37:41 -0700
commitec917e8e2ff30d2c2da873b3ce4f95160c89f03f (patch)
tree6fa1623ba3b353a517b5d0b1b99b45db59f3b0e7 /Alc/ALc.c
parent89d84131a46f0aa528eb0d3adbe0798cd4304b4e (diff)
Rename some struct members for consistency
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 2ddb18d5..bafb2dbd 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1291,7 +1291,7 @@ ALCAPI ALCcontext* ALCAPIENTRY alcCreateContext(ALCdevice *device, const ALCint
ALsource *source;
SuspendContext(context);
- for(slot = context->AuxiliaryEffectSlot;slot != NULL;slot = slot->next)
+ for(slot = context->EffectSlotList;slot != NULL;slot = slot->next)
{
if(!slot->EffectState)
continue;
@@ -1308,7 +1308,7 @@ ALCAPI ALCcontext* ALCAPIENTRY alcCreateContext(ALCdevice *device, const ALCint
ALEffect_Update(slot->EffectState, context, &slot->effect);
}
- for(source = context->Source;source != NULL;source = source->next)
+ for(source = context->SourceList;source != NULL;source = source->next)
{
ALuint s = device->NumAuxSends;
while(s < MAX_SENDS)
@@ -1415,10 +1415,10 @@ ALCAPI ALCvoid ALCAPIENTRY alcDestroyContext(ALCcontext *context)
#endif
ReleaseALSources(context);
}
- if(context->AuxiliaryEffectSlotCount > 0)
+ if(context->EffectSlotCount > 0)
{
#ifdef _DEBUG
- AL_PRINT("alcDestroyContext(): deleting %d AuxiliaryEffectSlot(s)\n", context->AuxiliaryEffectSlotCount);
+ AL_PRINT("alcDestroyContext(): deleting %d AuxiliaryEffectSlot(s)\n", context->EffectSlotCount);
#endif
ReleaseALAuxiliaryEffectSlots(context);
}