mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-01 18:31:45 +02:00
Only stop PcmStream if JackStream is stopped
This commit is contained in:
parent
0f910db3fc
commit
41c86e65dc
1 changed files with 0 additions and 3 deletions
|
@ -211,8 +211,6 @@ void JackStream::tryConnect()
|
|||
wait(read_timer_, 5s, [this] { tryConnect(); });
|
||||
return;
|
||||
}
|
||||
|
||||
PcmStream::start();
|
||||
}
|
||||
catch (exception& e)
|
||||
{
|
||||
|
@ -451,7 +449,6 @@ void JackStream::autoConnectPorts()
|
|||
void JackStream::onJackShutdown()
|
||||
{
|
||||
LOG(ERROR, LOG_TAG) << "Jack has shut down, trying to connect again!\n";
|
||||
PcmStream::stop();
|
||||
ports_.clear();
|
||||
client_ = nullptr;
|
||||
wait(read_timer_, 1000ms, [this] { tryConnect(); });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue