Skip to content

Commit 7a832a1

Browse files
authored
Debug underflow (22)
1 parent 465b684 commit 7a832a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/soundio/sounddevicenetwork.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,13 +544,13 @@ void SoundDeviceNetwork::updateAudioLatencyUsage(SINT framesPerBuffer) {
544544
unsigned long sleepUs = 0;
545545
if (currentTime > m_targetTime) {
546546
m_pSoundManager->underflowHappened(22);
547-
//qDebug() << "underflow" << currentTime << m_targetTime;
547+
qDebug() << "underflow" << currentTime << m_targetTime;
548548
m_targetTime = currentTime;
549549
} else {
550550
sleepUs = m_targetTime - currentTime;
551551
}
552552

553-
//qDebug() << "sleep" << sleepUs;
553+
qDebug() << "sleep" << sleepUs;
554554

555555
// measure time in Audio callback at the very last
556556
m_timeInAudioCallback += m_clkRefTimer.elapsed();

0 commit comments

Comments
 (0)