aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-03-04 18:09:34 -0800
committerChris Robinson <[email protected]>2018-03-08 17:48:21 -0800
commit4e613c5d4b83e40d22acdf816cd41d911e6052aa (patch)
tree693969ef266a695b2a9665034541fca1abcf8a9b /Alc
parent07c8857558ce4823b7e973aa1b998a62bdd83c3e (diff)
Rename UpdateContextSources for clarity
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index f1b958e5..7461dcbf 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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;
ALsource *source;
@@ -1791,7 +1791,7 @@ void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples)
const struct ALeffectslotArray *auxslots;
auxslots = ATOMIC_LOAD(&ctx->ActiveAuxSlots, almemory_order_acquire);
- UpdateContextSources(ctx, auxslots);
+ ProcessParamUpdates(ctx, auxslots);
for(i = 0;i < auxslots->count;i++)
{