mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
added stream state "unknown"
This commit is contained in:
parent
4a75aaf84b
commit
a77be90fee
3 changed files with 7 additions and 5 deletions
|
@ -135,7 +135,7 @@ void PcmReader::onChunkEncoded(const Encoder* encoder, msg::PcmChunk* chunk, dou
|
|||
|
||||
json PcmReader::toJson() const
|
||||
{
|
||||
string state("idle");
|
||||
string state("unknown");
|
||||
if (state_ == kIdle)
|
||||
state = "idle";
|
||||
else if (state_ == kPlaying)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue