mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 12:33:27 +02:00
add another check to avoid any mixing for a silent frame
This commit is contained in:
parent
3d9aa6cc9f
commit
98f014d13d
1 changed files with 2 additions and 1 deletions
|
@ -311,7 +311,8 @@ void AudioMixer::prepareMixForListeningNode(Node* node) {
|
|||
|
||||
if ((*otherNode != *node
|
||||
|| otherNodeBuffer->shouldLoopbackForNode())
|
||||
&& otherNodeBuffer->willBeAddedToMix()) {
|
||||
&& otherNodeBuffer->willBeAddedToMix()
|
||||
&& otherNodeBuffer->getAverageLoudness() > 0) {
|
||||
addBufferToMixForListeningNodeWithBuffer(otherNodeBuffer, nodeRingBuffer);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue