mirror of
https://github.com/overte-org/overte.git
synced 2025-07-28 17:30:00 +02:00
starvcount and notmixedcount also reset when audiomixer is killed
This commit is contained in:
parent
847bc28990
commit
f7381c70bc
1 changed files with 3 additions and 3 deletions
|
@ -149,15 +149,15 @@ void Audio::init(QGLWidget *parent) {
|
|||
void Audio::reset() {
|
||||
_ringBuffer.reset();
|
||||
|
||||
_starveCount = 0;
|
||||
_consecutiveNotMixedCount = 0;
|
||||
|
||||
_outgoingAvatarAudioSequenceNumber = 0;
|
||||
|
||||
resetStats();
|
||||
}
|
||||
|
||||
void Audio::resetStats() {
|
||||
_starveCount = 0;
|
||||
_consecutiveNotMixedCount = 0;
|
||||
|
||||
_audioMixerAvatarStreamAudioStats = AudioStreamStats();
|
||||
_audioMixerInjectedStreamAudioStatsMap.clear();
|
||||
|
||||
|
|
Loading…
Reference in a new issue