aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/jack_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/jack_plugin.c')
-rw-r--r--src/output/jack_plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c
index d16eb0443..2e5d5d70f 100644
--- a/src/output/jack_plugin.c
+++ b/src/output/jack_plugin.c
@@ -220,6 +220,8 @@ mpd_jack_connect(struct jack_data *jd, struct audio_format *audio_format)
jd->ringbuffer[0] = jack_ringbuffer_create(jd->ringbuffer_size);
jd->ringbuffer[1] = jack_ringbuffer_create(jd->ringbuffer_size);
+ jd->shutdown = false;
+
if ((jd->client = jack_client_new(mpd_jack_name(jd))) == NULL) {
g_warning("jack server not running?");
return -1;