diff options
author | Chris Robinson <[email protected]> | 2012-03-02 09:46:36 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-02 09:46:36 -0800 |
commit | 44e10c4f6916060bd30a4b25e1055f7f029f4314 (patch) | |
tree | 7f1088d38c91f7cc837e97adf4024f01d6559cd1 | |
parent | 7a832c452294414ac5327a3b86965b25ba403522 (diff) |
Remove some unneeded pulseaudio calls
-rw-r--r-- | Alc/backends/pulseaudio.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; |