aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index b95c90f8..26cdc771 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1584,9 +1584,9 @@ extern inline ALint GetChannelIndex(const enum Channel names[MAX_OUTPUT_CHANNELS
* does *NOT* stop mixing, but rather prevents certain property changes from
* taking effect.
*/
-void ALCcontext_DeferUpdates(ALCcontext *context)
+void ALCcontext_DeferUpdates(ALCcontext *context, ALenum type)
{
- ATOMIC_STORE(&context->DeferUpdates, AL_TRUE);
+ ATOMIC_STORE(&context->DeferUpdates, type);
}
/* ALCcontext_ProcessUpdates
@@ -2545,7 +2545,7 @@ ALC_API ALCvoid ALC_APIENTRY alcSuspendContext(ALCcontext *context)
alcSetError(NULL, ALC_INVALID_CONTEXT);
else
{
- ALCcontext_DeferUpdates(context);
+ ALCcontext_DeferUpdates(context, DeferAllowPlay);
ALCcontext_DecRef(context);
}
}