aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/pulseaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r--Alc/backends/pulseaudio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c
index 21954699..2621e334 100644
--- a/Alc/backends/pulseaudio.c
+++ b/Alc/backends/pulseaudio.c
@@ -837,11 +837,9 @@ static ALuint PulseProc(ALvoid *param)
buf = pa_xmalloc(newlen);
free_func = pa_xfree;
}
- pa_threaded_mainloop_unlock(data->loop);
aluMixData(Device, buf, newlen/frame_size);
- pa_threaded_mainloop_lock(data->loop);
pa_stream_write(data->stream, buf, newlen, free_func, 0, PA_SEEK_RELATIVE);
len -= newlen;
}