Skip to content

Commit 1783fcc

Browse files
committed
Adjust disabled debug messages.
1 parent af186fd commit 1783fcc

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/soundio/sounddevicenetwork.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ void SoundDeviceNetwork::workerWriteProcess(NetworkOutputStreamWorkerPtr pWorker
304304
// kLogger.debug() << "workerWriteProcess: buffer full"
305305
// << "outChunkSize" << outChunkSize
306306
// << "readAvailable" << readAvailable
307-
// << "writeExpected" << writeExpected << pWorker->getStreamTimeFrames();
307+
// << "writeExpected" << writeExpected
308+
// << "streamTime" << pWorker->getStreamTimeFrames();
308309
// catch up by skipping chunk
309310
m_pSoundManager->underflowHappened(25);
310311
}
@@ -313,7 +314,9 @@ void SoundDeviceNetwork::workerWriteProcess(NetworkOutputStreamWorkerPtr pWorker
313314
if (copyCount > 0) {
314315
if (writeExpected - copyCount > outChunkSize) {
315316
// Underflow
316-
// kLogger.debug() << "workerWriteProcess: buffer empty";
317+
// kLogger.debug() << "workerWriteProcess: buffer empty."
318+
// << "Catch up with silence:" << writeExpected - copyCount
319+
// << "streamTime" << pWorker->getStreamTimeFrames();;
317320
// catch up by filling buffer until we are synced
318321
workerWriteSilence(pWorker, writeExpected - copyCount);
319322
m_pSoundManager->underflowHappened(24);

0 commit comments

Comments
 (0)