mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 20:08:56 +02:00
repair the audio-mixer coma debug
This commit is contained in:
parent
5e451360f7
commit
63da0074b4
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ void AudioMixer::broadcastMixes() {
|
||||||
|
|
||||||
usecToSleep = (++nextFrame * AudioConstants::NETWORK_FRAME_USECS) - timer.nsecsElapsed() / 1000; // ns to us
|
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() << "DANGER: amount to sleep is" << usecToSleep;
|
||||||
qDebug() << "NextFrame is" << nextFrame << "and timer nsecs elapsed is" << timer.nsecsElapsed();
|
qDebug() << "NextFrame is" << nextFrame << "and timer nsecs elapsed is" << timer.nsecsElapsed();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue