audio/jack: do not remove ports when finishing
PATCH 4/6 audio/jack: do not remove ports when finishing
This fixes a hang when there is a communications issue with the JACK server. Simply closing the connection is enough to completely clean up and as such we do not need to remove the ports first.
Signed-off-by Geoffrey McRae <[email protected]>
--- audio/jackaudio.c | 3 --- 1 file changed, 3 deletions(-)
audio/jackaudio.c +0 -3
@@ -548,9 +548,6 @@ static void qjack_client_fini(QJackClient *c) {switch (c->state) {case QJACK_STATE_RUNNING : -for (int i =0 ; i < c->nchannels; ++i) { -jack_port_unregister (c->client, c->port[i]); - }jack_deactivate (c->client);/* fallthrough */
Signature · 1 line
2.20.1