mirror of
https://github.com/overte-org/overte.git
synced 2025-04-09 02:33:19 +02:00
Clear mixing structures when we stop mixing for node
This commit is contained in:
parent
0de011dd71
commit
c29f6346d8
1 changed files with 7 additions and 0 deletions
|
@ -337,6 +337,13 @@ void AudioMixerClientData::removeAgentAvatarAudioStream() {
|
|||
|
||||
if (it != _audioStreams.end()) {
|
||||
_audioStreams.erase(it);
|
||||
|
||||
// Clear mixing structures so that they get recreated with up to date
|
||||
// data if the stream comes back
|
||||
setHasReceivedFirstMix(false);
|
||||
_streams.skipped.clear();
|
||||
_streams.inactive.clear();
|
||||
_streams.active.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue