git-svn-id: svn://elaine/murooma/trunk@83 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-07-09 18:00:50 +00:00
parent 78fed08827
commit 1a9ff704df

View file

@ -176,7 +176,7 @@ void Stream::getChunk(short* outputBuffer, double outputBufferDacTime, unsigned
}
else
{
for (int i=0; i<(sleep / (ceil(PLAYER_CHUNK_MS / 2) + 1)); ++i)
for (int i=0; i<(sleep / PLAYER_CHUNK_MS) + 1; ++i)
{
// std::cerr << "Sleep: " << sleep << "\n";
getNextPlayerChunk(outputBuffer);