mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-04 11:51:44 +02:00
Make sending of silence configurable
This commit is contained in:
parent
90c7ba8a67
commit
4b7c313fa0
4 changed files with 22 additions and 6 deletions
|
@ -56,6 +56,11 @@ protected:
|
|||
std::vector<char> silent_chunk_;
|
||||
std::chrono::microseconds silence_;
|
||||
std::string lastException_;
|
||||
|
||||
/// send silent chunks to clients
|
||||
bool send_silence_;
|
||||
/// silence duration before switching the stream to idle
|
||||
std::chrono::milliseconds idle_threshold_;
|
||||
};
|
||||
|
||||
} // namespace streamreader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue