diff options
author | Chris Robinson <[email protected]> | 2011-06-16 05:29:38 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-06-16 05:29:38 -0700 |
commit | 8bee7a2b7f6ab60e08f2f2fc8e0dc2d39563c006 (patch) | |
tree | 4714f211365a3086805d44b2623eaa2d8b0e8a09 /Alc | |
parent | 632b4e6332a9fd3e7e0a47767a5620aadb1ea843 (diff) |
Don't suspend individual contexts when updating
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 | ||||
-rw-r--r-- | Alc/ALu.c | 3 |
2 files changed, 0 insertions, 5 deletions
@@ -1382,7 +1382,6 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) ALCcontext *context = device->Contexts[i]; ALsizei pos; - SuspendContext(context); for(pos = 0;pos < context->EffectSlotMap.size;pos++) { ALeffectslot *slot = context->EffectSlotMap.array[pos].value; @@ -1414,7 +1413,6 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) ALsource_Update(source, context); source->NeedsUpdate = AL_FALSE; } - ProcessContext(context); } ProcessContext(NULL); @@ -942,8 +942,6 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) ctx_end = ctx + device->NumContexts; while(ctx != ctx_end) { - SuspendContext(*ctx); - src = (*ctx)->ActiveSources; src_end = src + (*ctx)->ActiveSourceCount; while(src != src_end) @@ -989,7 +987,6 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) ALEffectSlot->WetBuffer[i] = 0.0f; } - ProcessContext(*ctx); ctx++; } ProcessContext(NULL); |