_consecutiveNotMixedCount++ moved back into if(starveOnFail)

This commit is contained in:
wangyix 2014-07-27 11:23:47 -07:00
parent cf649c8365
commit 438606d567

View file

@ -123,8 +123,8 @@ bool InboundAudioStream::popFrames(int numFrames, bool starveOnFail) {
// if starveOnFail is true // if starveOnFail is true
if (starveOnFail) { if (starveOnFail) {
starved(); starved();
_consecutiveNotMixedCount++;
} }
_consecutiveNotMixedCount++;
_lastPopSucceeded = false; _lastPopSucceeded = false;
} }
} }