mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 15:59:49 +02:00
Merge pull request #2410 from birarda/audio-scaling
require a min loudness for stream to be mixed in
This commit is contained in:
commit
4a719f678e
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,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() > _minRequiredLoudness) {
|
||||||
addBufferToMixForListeningNodeWithBuffer(otherNodeBuffer, nodeRingBuffer);
|
addBufferToMixForListeningNodeWithBuffer(otherNodeBuffer, nodeRingBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue