From f210244a1c131e73ed9deaf1dc33c011d7a5bd30 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Mon, 30 Sep 2013 14:42:55 +0200 Subject: [PATCH] =?UTF-8?q?ao=5Fjack:=20don=E2=80=99t=20force=20exact=20cl?= =?UTF-8?q?ient=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Trying to connect multiple mpv clients to JACK with the JackUseExactName option would fail unless the user manually specifies a unique client name. This changes the behavior to automatically generate a unique name if the requested one is already in use. --- audio/out/ao_jack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/out/ao_jack.c b/audio/out/ao_jack.c index b1f105248f..035df4ff8f 100644 --- a/audio/out/ao_jack.c +++ b/audio/out/ao_jack.c @@ -169,7 +169,7 @@ static int init(struct ao *ao) struct priv *p = ao->priv; const char **matching_ports = NULL; char *port_name = p->cfg_port && p->cfg_port[0] ? p->cfg_port : NULL; - jack_options_t open_options = JackUseExactName; + jack_options_t open_options = JackNullOption; int port_flags = JackPortIsInput; int i;