mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-30 16:37:04 +02:00
Log stream state as string
This commit is contained in:
parent
178888a512
commit
1725cffc6e
5 changed files with 25 additions and 5 deletions
|
@ -94,7 +94,7 @@ void MetaStream::onMetaChanged(const PcmStream* pcmStream)
|
|||
|
||||
void MetaStream::onStateChanged(const PcmStream* pcmStream, ReaderState state)
|
||||
{
|
||||
LOG(DEBUG, LOG_TAG) << "onStateChanged: " << pcmStream->getName() << ", state: " << static_cast<int>(state) << "\n";
|
||||
LOG(DEBUG, LOG_TAG) << "onStateChanged: " << pcmStream->getName() << ", state: " << state << "\n";
|
||||
std::lock_guard<std::mutex> lock(mutex_);
|
||||
for (const auto& stream : streams_)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue