aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
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
parent89d84131a46f0aa528eb0d3adbe0798cd4304b4e (diff)
Rename some struct members for consistency
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c8
-rw-r--r--Alc/ALu.c6
2 files changed, 7 insertions, 7 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);
}
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 1e7b639a..47d109dd 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -900,7 +900,7 @@ static void MixSomeSources(ALCcontext *ALContext, float (*DryBuffer)[OUTPUTCHANN
ALfloat Pitch;
ALenum State;
- if(!(ALSource=ALContext->Source))
+ if(!(ALSource=ALContext->SourceList))
return;
DeviceFreq = ALContext->Device->Frequency;
@@ -1357,7 +1357,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
MixSomeSources(ALContext, DryBuffer, SamplesToDo);
/* effect slot processing */
- ALEffectSlot = ALContext->AuxiliaryEffectSlot;
+ ALEffectSlot = ALContext->EffectSlotList;
while(ALEffectSlot)
{
if(ALEffectSlot->EffectState)
@@ -1491,7 +1491,7 @@ ALvoid aluHandleDisconnect(ALCdevice *device)
SuspendContext(device->Contexts[i]);
- source = device->Contexts[i]->Source;
+ source = device->Contexts[i]->SourceList;
while(source)
{
if(source->state == AL_PLAYING)