diff options
author | Max Kellermann <max@duempel.org> | 2009-01-29 23:16:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-29 23:16:34 +0100 |
commit | 27c5b90dc3cf81d1974fcc9b481cf0a774181fd2 (patch) | |
tree | 1eb60fb8435bbdc21a68f139d4c3fcb9e40452c5 /src/output | |
parent | 846f1262594832e06a3e0aa36176c75f3b637358 (diff) | |
download | mpd-27c5b90dc3cf81d1974fcc9b481cf0a774181fd2.tar.gz mpd-27c5b90dc3cf81d1974fcc9b481cf0a774181fd2.tar.xz mpd-27c5b90dc3cf81d1974fcc9b481cf0a774181fd2.zip |
jack: don't manually close on shutdown
Return false from mpd_jack_play(), let the MPD core close the device.
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/jack_plugin.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c index 1aea92d86..7655da193 100644 --- a/src/output/jack_plugin.c +++ b/src/output/jack_plugin.c @@ -385,9 +385,7 @@ mpd_jack_play(void *data, const char *buff, size_t size) if (jd->shutdown) { g_warning("Refusing to play, because there is no client thread."); - mpd_jack_client_free(jd); - audio_output_closed(jd->ao); - return true; + return false; } assert(size % frame_size == 0); |