mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 22:07:34 +02:00
drop samples from ring buffer if muted
This commit is contained in:
parent
f3e120f45d
commit
9461d5d8d1
1 changed files with 2 additions and 0 deletions
|
@ -790,6 +790,8 @@ void AudioClient::handleAudioInput() {
|
|||
// our input loudness is 0, since we're muted
|
||||
_lastInputLoudness = 0;
|
||||
_timeSinceLastClip = 0.0f;
|
||||
|
||||
_inputRingBuffer.shiftReadPosition(inputSamplesRequired);
|
||||
}
|
||||
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
|
|
Loading…
Reference in a new issue