From 44e10c4f6916060bd30a4b25e1055f7f029f4314 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 2 Mar 2012 09:46:36 -0800 Subject: Remove some unneeded pulseaudio calls --- Alc/backends/pulseaudio.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'Alc/backends') diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c index 2780c77b..5d3725ab 100644 --- a/Alc/backends/pulseaudio.c +++ b/Alc/backends/pulseaudio.c @@ -1088,7 +1088,6 @@ static void pulse_stop_playback(ALCdevice *device) data->killNow = AL_TRUE; if(data->thread) { - pa_threaded_mainloop_signal(data->loop, 0); StopThread(data->thread); data->thread = NULL; } @@ -1100,8 +1099,6 @@ static void pulse_stop_playback(ALCdevice *device) if(pa_stream_set_buffer_attr_callback) pa_stream_set_buffer_attr_callback(data->stream, NULL, NULL); #endif - pa_stream_set_write_callback(data->stream, NULL, NULL); - pa_stream_set_underflow_callback(data->stream, NULL, NULL); pa_stream_disconnect(data->stream); pa_stream_unref(data->stream); data->stream = NULL; -- cgit v1.2.3