Autoconnect ports once after connecting to Jack server

This commit is contained in:
Marcus Weseloh 2024-06-20 15:56:53 +02:00 committed by Johannes Pohl
parent 71e5beef8a
commit 2a9369274c

View file

@ -207,6 +207,11 @@ void JackStream::tryConnect()
wait(read_timer_, 5s, [this] { tryConnect(); }); wait(read_timer_, 5s, [this] { tryConnect(); });
return; return;
} }
if (doAutoConnect_)
{
autoConnectPorts();
}
} }
catch (exception& e) catch (exception& e)
{ {