mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 07:36:41 +02:00
valgrind optimizations
This commit is contained in:
parent
063ed462f9
commit
c8c3b0357e
4 changed files with 9 additions and 9 deletions
|
@ -93,7 +93,7 @@ void FlacEncoder::encode(const msg::PcmChunk* chunk)
|
|||
// logO << "encoded: " << chunk->payloadSize << "\tframes: " << encodedSamples_ << "\tres: " << resMs << "\n";
|
||||
encodedSamples_ = 0;
|
||||
listener_->onChunkEncoded(this, flacChunk_, resMs);
|
||||
flacChunk_ = new msg::PcmChunk();
|
||||
flacChunk_ = new msg::PcmChunk(chunk->format, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue