SpotlightKid / jack-matchmaker

Auto-connect new JACK ports matching the patterns given on the command line.
GNU General Public License v2.0
73 stars 6 forks source link

Unable to connect to JACK when starting more than one instance #11

Closed SpotlightKid closed 4 years ago

SpotlightKid commented 4 years ago

It is not possible to run more than one instance of jack-matchmaker at the same time unless the -N is used to set distinctive JACK client names. The second instance only connects the moment after the first one closes.

jack-matchmaker erroneously interprets a non-zero return value of jack_client_open which has the JackNameNotUnique bit set as an error and remains in the re-connect loop.