Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e51dd6dd authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am 05985a2e: am c15cf3d2: Merge "stagefright: limit audio gap for looped playback" into ics-mr1

* commit '05985a2e2ae5c21fbf69d2884c59ea475fce7f6d':
  stagefright: limit audio gap for looped playback
parents c4025614 a7cbd8e1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1841,6 +1841,10 @@ void AwesomePlayer::postCheckAudioStatusEvent(int64_t delayUs) {
        return;
    }
    mAudioStatusEventPending = true;
    // Do not honor delay when looping in order to limit audio gap
    if (mFlags & (LOOPING | AUTO_LOOPING)) {
        delayUs = 0;
    }
    mQueue.postEventWithDelay(mCheckAudioStatusEvent, delayUs);
}