diff options
author | Chris Robinson <[email protected]> | 2010-03-16 15:37:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-16 15:37:41 -0700 |
commit | ec917e8e2ff30d2c2da873b3ce4f95160c89f03f (patch) | |
tree | 6fa1623ba3b353a517b5d0b1b99b45db59f3b0e7 /Alc | |
parent | 89d84131a46f0aa528eb0d3adbe0798cd4304b4e (diff) |
Rename some struct members for consistency
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 8 | ||||
-rw-r--r-- | Alc/ALu.c | 6 |
2 files changed, 7 insertions, 7 deletions
@@ -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); } @@ -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) |