summaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.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/pulseaudio.c
parent032d0836a74f0e17c99d68e3163f070397123abf (diff)
Rename Suspend/ProcessContext since they are locking a mutex
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r--Alc/pulseaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index 01d6a71c..1a4789b3 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -361,7 +361,7 @@ static void stream_buffer_attr_callback(pa_stream *stream, void *pdata) //{{{
ALCdevice *Device = pdata;
pulse_data *data = Device->ExtraData;
- SuspendContext(NULL);
+ LockContext(NULL);
data->attr = *(pa_stream_get_buffer_attr(stream));
Device->UpdateSize = data->attr.minreq / data->frame_size;
@@ -372,7 +372,7 @@ static void stream_buffer_attr_callback(pa_stream *stream, void *pdata) //{{{
AL_PRINT("PulseAudio returned minreq > tlength/2; expect break up\n");
}
- ProcessContext(NULL);
+ UnlockContext(NULL);
}//}}}
static void stream_device_callback(pa_stream *stream, void *pdata) //{{{