git-svn-id: svn://elaine/murooma/trunk@163 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-08-09 10:16:48 +00:00
parent 0b79e540a9
commit a069a6be82
2 changed files with 4 additions and 1 deletions

View file

@ -141,9 +141,11 @@ void Stream::getPlayerChunk(short* outputBuffer, double outputBufferDacTime, uns
int age = Chunk::getAge(getNextPlayerChunk(outputBuffer, framesPerBuffer, correction)) - bufferMs;// + outputBufferDacTime*1000;
// cout << age << "\t";
long currentTick = getTickCount();
cout << age << "\t" << msBuffer << "\t" << currentTick - lastTick << "\n";
if (outputBufferDacTime < 1)
age += outputBufferDacTime*1000;
lastTick = currentTick;
// cout << age << "\t" << outputBufferDacTime*1000 << "\n";