output/jack: check for connection failure before starting playback
This commit is contained in:
parent
e7a1862517
commit
a9edf85a69
1
NEWS
1
NEWS
|
@ -4,6 +4,7 @@ ver 0.16.8 (2012/??/??)
|
||||||
- vorbis (and others): fix seeking at startup
|
- vorbis (and others): fix seeking at startup
|
||||||
- ffmpeg: read the "year" tag
|
- ffmpeg: read the "year" tag
|
||||||
* output:
|
* output:
|
||||||
|
- jack: check for connection failure before starting playback
|
||||||
- jack: workaround for libjack1 crash bug
|
- jack: workaround for libjack1 crash bug
|
||||||
- osx: fix stuttering due to buffering bug
|
- osx: fix stuttering due to buffering bug
|
||||||
* fix endless loop in text file reader
|
* fix endless loop in text file reader
|
||||||
|
|
|
@ -576,6 +576,9 @@ mpd_jack_open(void *data, struct audio_format *audio_format, GError **error_r)
|
||||||
|
|
||||||
jd->pause = false;
|
jd->pause = false;
|
||||||
|
|
||||||
|
if (jd->client != NULL && jd->shutdown)
|
||||||
|
mpd_jack_disconnect(jd);
|
||||||
|
|
||||||
if (jd->client == NULL && !mpd_jack_connect(jd, error_r))
|
if (jd->client == NULL && !mpd_jack_connect(jd, error_r))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue