diff options
author | Chris Robinson <[email protected]> | 2010-04-17 00:27:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-04-17 00:27:13 -0700 |
commit | 4d15391c88fb6facab0f06298627298439cda58c (patch) | |
tree | 619cbf8399b9f1194a156d4f7a954cd1eefe2ae0 /Alc | |
parent | fc2473f8264a6b6677306fcfec35180d58827203 (diff) |
Disable PulseAudio's write callback when disconnecting
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/pulseaudio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index d91d2e16..45112938 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -749,6 +749,7 @@ static void pulse_stop_playback(ALCdevice *device) //{{{ ppa_threaded_mainloop_lock(data->loop); + ppa_stream_set_write_callback(data->stream, NULL, NULL); ppa_stream_disconnect(data->stream); ppa_stream_unref(data->stream); data->stream = NULL; |