mirror of
https://github.com/overte-org/overte.git
synced 2025-07-25 14:26:53 +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
|
@ -148,9 +148,6 @@ void Audio::init(QGLWidget *parent) {
|
|||
|
||||
void Audio::reset() {
|
||||
_ringBuffer.reset();
|
||||
|
||||
_starveCount = 0;
|
||||
_consecutiveNotMixedCount = 0;
|
||||
|
||||
_outgoingAvatarAudioSequenceNumber = 0;
|
||||
|
||||
|
@ -158,6 +155,9 @@ void Audio::reset() {
|
|||
}
|
||||
|
||||
void Audio::resetStats() {
|
||||
_starveCount = 0;
|
||||
_consecutiveNotMixedCount = 0;
|
||||
|
||||
_audioMixerAvatarStreamAudioStats = AudioStreamStats();
|
||||
_audioMixerInjectedStreamAudioStatsMap.clear();
|
||||
|
||||
|
|
Loading…
Reference in a new issue