clarify check for audio loudness in AudioMixer

This commit is contained in:
Stephen Birarda 2014-03-17 14:35:26 -07:00
parent 1428d2d1de
commit c7e12824a8

View file

@ -302,7 +302,7 @@ void AudioMixer::prepareMixForListeningNode(Node* node) {
if ((*otherNode != *node
|| otherNodeBuffer->shouldLoopbackForNode())
&& otherNodeBuffer->willBeAddedToMix()
&& otherNodeClientData->getNextOutputLoudness() != 0) {
&& otherNodeClientData->getNextOutputLoudness() > 0) {
addBufferToMixForListeningNodeWithBuffer(otherNodeBuffer, nodeRingBuffer);
}
}