mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-02 08:09:35 +02:00
xxx
git-svn-id: svn://elaine/murooma/trunk@340 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
8eb20f0412
commit
226e5188f1
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ void Stream::clearChunks()
|
|||
|
||||
void Stream::addChunk(msg::PcmChunk* chunk)
|
||||
{
|
||||
while (chunks_.size() * chunk_->duration<chronos::msec>().count() > 10000)
|
||||
while (chunks_.size() * chunk->duration<chronos::msec>().count() > 10000)
|
||||
chunks_.pop();
|
||||
chunks_.push(shared_ptr<msg::PcmChunk>(chunk));
|
||||
// logD << "new chunk: " << chunk_->getDuration() << ", Chunks: " << chunks_.size() << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue