Rename UpdateContextSources for clarity

This commit is contained in:
Chris Robinson 2018-03-04 18:09:34 -08:00
parent 07c8857558
commit 4e613c5d4b

View File

@ -1566,7 +1566,7 @@ static void CalcSourceParams(ALvoice *voice, ALCcontext *context, bool force)
} }
static void UpdateContextSources(ALCcontext *ctx, const struct ALeffectslotArray *slots) static void ProcessParamUpdates(ALCcontext *ctx, const struct ALeffectslotArray *slots)
{ {
ALvoice **voice, **voice_end; ALvoice **voice, **voice_end;
ALsource *source; ALsource *source;
@ -1791,7 +1791,7 @@ void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples)
const struct ALeffectslotArray *auxslots; const struct ALeffectslotArray *auxslots;
auxslots = ATOMIC_LOAD(&ctx->ActiveAuxSlots, almemory_order_acquire); auxslots = ATOMIC_LOAD(&ctx->ActiveAuxSlots, almemory_order_acquire);
UpdateContextSources(ctx, auxslots); ProcessParamUpdates(ctx, auxslots);
for(i = 0;i < auxslots->count;i++) for(i = 0;i < auxslots->count;i++)
{ {