mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-09 06:11:45 +02:00
Making the amount of silence played configurable as dryout_ms.
This commit is contained in:
parent
f49a2f1bb0
commit
50381bacaf
4 changed files with 8 additions and 2 deletions
|
@ -73,7 +73,7 @@ void PipeStream::worker()
|
|||
tvEncodedChunk_ = tvChunk;
|
||||
long nextTick = chronos::getTickCount();
|
||||
int idleFrames = 0;
|
||||
int maxIdleFrames = sampleFormat_.rate*2;
|
||||
int maxIdleFrames = sampleFormat_.rate*dryoutMs_/1000;
|
||||
try
|
||||
{
|
||||
if (fd_ == -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue