aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-08-25 06:17:36 -0700
committerChris Robinson <[email protected]>2016-08-25 06:17:36 -0700
commita16739f7651afb7653387b1e79b2985058d76e90 (patch)
tree0e0071564da36bb70293f36541a295682e13868f /Alc/ALc.c
parent4e4e597fa54cc3498ae28bea9c2684e1fee05389 (diff)
Properly defer effect slot changes
Note that this now also causes all playing sources to update when an effect slot is updated. This is a bit wasteful, as it should only need to re-update sources that are using the effect slot (and only when a relevant property is changed), but it's good enough. Especially with deferring since all playing sources are going to get updated on the process call anyway.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 15614dd1..b95c90f8 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1611,6 +1611,7 @@ void ALCcontext_ProcessUpdates(ALCcontext *context)
althrd_yield();
UpdateListenerProps(context);
+ UpdateAllEffectSlotProps(context);
LockUIntMapRead(&context->SourceMap);
V0(device->Backend,lock)();