correctly output trailing sleep time

This commit is contained in:
Stephen Birarda 2014-03-24 10:39:10 -07:00
parent d0fbf4953a
commit c0da215a60

View file

@ -431,8 +431,10 @@ void AudioMixer::run() {
framesSinceCutoffEvent = 0;
}
} else {
framesSinceCutoffEvent++;
}
if (!hasRatioChanged) {
++framesSinceCutoffEvent;
}
foreach (const SharedNodePointer& node, nodeList->getNodeHash()) {