diff options
author | Chris Robinson <[email protected]> | 2016-07-04 20:35:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-04 20:35:32 -0700 |
commit | 8f4d6c48ce6621e2e2b79ada781b9e3dfc9ed38c (patch) | |
tree | f0e16e88cfaea9d89f019efa2637324060d0e0e4 /Alc/ALc.c | |
parent | f0cbcdc928b6a0615199dde56f3b7f0ac31cc6cb (diff) |
Use separate arrays for UIntMap keys and values
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1580,7 +1580,7 @@ void ALCcontext_ProcessUpdates(ALCcontext *context) V0(device->Backend,lock)(); for(pos = 0;pos < context->SourceMap.size;pos++) { - ALsource *Source = context->SourceMap.array[pos].value; + ALsource *Source = context->SourceMap.values[pos]; ALenum new_state; if((Source->state == AL_PLAYING || Source->state == AL_PAUSED) && @@ -2064,7 +2064,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) LockUIntMapRead(&context->EffectSlotMap); for(pos = 0;pos < context->EffectSlotMap.size;pos++) { - ALeffectslot *slot = context->EffectSlotMap.array[pos].value; + ALeffectslot *slot = context->EffectSlotMap.values[pos]; ALeffectState *state = slot->Effect.State; state->OutBuffer = device->Dry.Buffer; @@ -2084,7 +2084,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) LockUIntMapRead(&context->SourceMap); for(pos = 0;pos < context->SourceMap.size;pos++) { - ALsource *source = context->SourceMap.array[pos].value; + ALsource *source = context->SourceMap.values[pos]; ALuint s = device->NumAuxSends; while(s < MAX_SENDS) { |