Merge pull request #6882 from birarda/audio-mixer-coma

repair the audio-mixer coma debug
This commit is contained in:
Ryan Huffman 2016-01-21 10:37:28 -08:00
commit f162c9220f

View file

@ -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();
}