diff options
author | Chris Robinson <[email protected]> | 2009-10-20 13:38:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-10-20 13:38:02 -0700 |
commit | eca8825ab4dad656dfbc92617688afc8f10ad653 (patch) | |
tree | 4e9b95ac8ff08d305b26ab9b59cbb453c793fa88 | |
parent | 9f9b7cf88555cd26a8b25ce72e686bb27b45c431 (diff) |
Explicitly suspend the context being processed for mixing
-rw-r--r-- | Alc/ALu.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |