mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-12 08:36:43 +02:00
Reformat code
This commit is contained in:
parent
c6518a4709
commit
e1c8250876
32 changed files with 505 additions and 351 deletions
|
@ -106,7 +106,8 @@ void MetaStream::onStateChanged(const PcmStream* pcmStream, ReaderState state)
|
|||
// if (active_stream_->getProperties().playback_status == PlaybackStatus::kPaused)
|
||||
// return;
|
||||
|
||||
auto switch_stream = [this](std::shared_ptr<PcmStream> new_stream) {
|
||||
auto switch_stream = [this](std::shared_ptr<PcmStream> new_stream)
|
||||
{
|
||||
if (new_stream == active_stream_)
|
||||
return;
|
||||
LOG(INFO, LOG_TAG) << "Stream: " << name_ << ", switching active stream: " << (active_stream_ ? active_stream_->getName() : "<null>") << " => "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue