Merge pull request #2457 from birarda/master

correctly output trailing sleep time
This commit is contained in:
Stephen Birarda 2014-03-24 10:39:43 -07:00
commit cd9d193ddb

View file

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