aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
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);