diff options
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r-- | Alc/pulseaudio.c | 4 |
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) //{{{ |