From 63da0074b4db916ff158da30bcff1aee6595cffc Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 21 Jan 2016 10:26:03 -0800 Subject: [PATCH] repair the audio-mixer coma debug --- assignment-client/src/audio/AudioMixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assignment-client/src/audio/AudioMixer.cpp b/assignment-client/src/audio/AudioMixer.cpp index cb1c7957ae..bcd9478700 100644 --- a/assignment-client/src/audio/AudioMixer.cpp +++ b/assignment-client/src/audio/AudioMixer.cpp @@ -828,7 +828,7 @@ void AudioMixer::broadcastMixes() { usecToSleep = (++nextFrame * AudioConstants::NETWORK_FRAME_USECS) - timer.nsecsElapsed() / 1000; // ns to us - if (quint64(usecToSleep) > USECS_PER_SECOND) { + if (usecToSleep > int(USECS_PER_SECOND)) { qDebug() << "DANGER: amount to sleep is" << usecToSleep; qDebug() << "NextFrame is" << nextFrame << "and timer nsecs elapsed is" << timer.nsecsElapsed(); }