mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-02 11:46:34 +02:00
Autoconnect ports once after connecting to Jack server
This commit is contained in:
parent
71e5beef8a
commit
2a9369274c
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue