aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index c7a6d361..ceb01e09 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1229,6 +1229,8 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
for(c = 0;c < device->NumContexts;c++)
{
ALContext = device->Contexts[c];
+ SuspendContext(ALContext);
+
MixSomeSources(ALContext, DryBuffer, SamplesToDo);
/* effect slot processing */
@@ -1242,6 +1244,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
ALEffectSlot->WetBuffer[i] = 0.0f;
ALEffectSlot = ALEffectSlot->next;
}
+ ProcessContext(ALContext);
}
//Post processing loop