mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-30 17:36:16 +02:00
don't send audio to muted clients
This commit is contained in:
parent
69747ec316
commit
39c133e41a
4 changed files with 19 additions and 1 deletions
|
@ -68,6 +68,7 @@ int main(int argc, char* argv[])
|
|||
Value<size_t> streamBufferValue("", "streamBuffer", "Default stream read buffer [ms]", settings.streamReadMs, &settings.streamReadMs);
|
||||
|
||||
Value<int> bufferValue("b", "buffer", "Buffer [ms]", settings.bufferMs, &settings.bufferMs);
|
||||
Switch muteSwitch("", "sendToMuted", "Send audio to muted clients", &settings.sendAudioToMutedClients);
|
||||
Implicit<int> daemonOption("d", "daemon", "Daemonize\noptional process priority [-20..19]", 0, &processPriority);
|
||||
Value<string> userValue("", "user", "the user[:group] to run snapserver as when daemonized", "");
|
||||
|
||||
|
@ -81,6 +82,7 @@ int main(int argc, char* argv[])
|
|||
.add(codecValue)
|
||||
.add(streamBufferValue)
|
||||
.add(bufferValue)
|
||||
.add(muteSwitch)
|
||||
#ifdef HAS_DAEMON
|
||||
.add(daemonOption)
|
||||
.add(userValue)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue