aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-30 18:10:04 -0700
committerChris Robinson <[email protected]>2011-06-30 18:10:04 -0700
commit723755788d645a04d7191dc631807660ce0125cb (patch)
tree40528da53b4652ea9b832cbb71079d024b6e13a6 /Alc/ALu.c
parent032d0836a74f0e17c99d68e3163f070397123abf (diff)
Rename Suspend/ProcessContext since they are locking a mutex
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 0f88d2e3..023ed3f9 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -972,7 +972,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
/* Clear mixing buffer */
memset(device->DryBuffer, 0, SamplesToDo*MAXCHANNELS*sizeof(ALfloat));
- SuspendContext(NULL);
+ LockContext(NULL);
ctx = device->Contexts;
ctx_end = ctx + device->NumContexts;
while(ctx != ctx_end)
@@ -1024,7 +1024,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
ctx++;
}
- ProcessContext(NULL);
+ UnlockContext(NULL);
//Post processing loop
for(i = 0;i < SamplesToDo;i++)
@@ -1075,7 +1075,7 @@ ALvoid aluHandleDisconnect(ALCdevice *device)
{
ALuint i;
- SuspendContext(NULL);
+ LockContext(NULL);
for(i = 0;i < device->NumContexts;i++)
{
ALCcontext *Context = device->Contexts[i];
@@ -1096,5 +1096,5 @@ ALvoid aluHandleDisconnect(ALCdevice *device)
}
device->Connected = ALC_FALSE;
- ProcessContext(NULL);
+ UnlockContext(NULL);
}