actually require minRequiredLoudness for a stream to be mixed in

This commit is contained in:
Stephen Birarda 2014-03-20 16:17:09 -07:00
parent 508e59217f
commit 7f96c71793

View file

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