mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-02 08:09:35 +02:00
fixed request timeout
This commit is contained in:
parent
aba04a0675
commit
8f21948a4d
7 changed files with 24 additions and 16 deletions
|
@ -51,7 +51,7 @@ double FlacEncoder::encode(msg::PcmChunk* chunk)
|
|||
{
|
||||
int samples = chunk->getSampleCount();
|
||||
int frames = chunk->getFrameCount();
|
||||
logO << "payload: " << chunk->payloadSize << "\tframes: " << frames << "\tsamples: " << samples << "\tduration: " << chunk->duration<chronos::msec>().count() << "\n";
|
||||
logD << "payload: " << chunk->payloadSize << "\tframes: " << frames << "\tsamples: " << samples << "\tduration: " << chunk->duration<chronos::msec>().count() << "\n";
|
||||
|
||||
if (pcmBufferSize_ < samples)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue