mirror of
https://github.com/overte-org/overte.git
synced 2025-07-25 15:26:09 +02:00
clarify check for audio loudness in AudioMixer
This commit is contained in:
parent
1428d2d1de
commit
c7e12824a8
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ void AudioMixer::prepareMixForListeningNode(Node* node) {
|
||||||
if ((*otherNode != *node
|
if ((*otherNode != *node
|
||||||
|| otherNodeBuffer->shouldLoopbackForNode())
|
|| otherNodeBuffer->shouldLoopbackForNode())
|
||||||
&& otherNodeBuffer->willBeAddedToMix()
|
&& otherNodeBuffer->willBeAddedToMix()
|
||||||
&& otherNodeClientData->getNextOutputLoudness() != 0) {
|
&& otherNodeClientData->getNextOutputLoudness() > 0) {
|
||||||
addBufferToMixForListeningNodeWithBuffer(otherNodeBuffer, nodeRingBuffer);
|
addBufferToMixForListeningNodeWithBuffer(otherNodeBuffer, nodeRingBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue