starvcount and notmixedcount also reset when audiomixer is killed

This commit is contained in:
wangyix 2014-07-22 11:09:47 -07:00
parent 847bc28990
commit f7381c70bc

View file

@ -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();