aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-16 05:29:38 -0700
committerChris Robinson <[email protected]>2011-06-16 05:29:38 -0700
commit8bee7a2b7f6ab60e08f2f2fc8e0dc2d39563c006 (patch)
tree4714f211365a3086805d44b2623eaa2d8b0e8a09 /Alc
parent632b4e6332a9fd3e7e0a47767a5620aadb1ea843 (diff)
Don't suspend individual contexts when updating
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
-rw-r--r--Alc/ALu.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 740d608d..46796434 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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);
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 2c35498a..ab1c24dd 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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);