mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-01 18:31:45 +02:00
fix muting
This commit is contained in:
parent
f4c99c7a18
commit
c97ab3c60b
1 changed files with 5 additions and 2 deletions
|
@ -63,9 +63,12 @@ void StreamServer::onChunkRead(const PcmStream* pcmStream, const msg::PcmChunk*
|
|||
GroupPtr group = Config::instance().getGroupFromClient(s->clientId);
|
||||
if (group)
|
||||
{
|
||||
if (group->muted)
|
||||
continue;
|
||||
|
||||
ClientInfoPtr client = group->getClient(s->clientId);
|
||||
if ((client && client->config.volume.muted) || group->muted)
|
||||
return;
|
||||
if (client && client->config.volume.muted)
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue