We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c894fb7 + 577d6cc commit c15cf3dCopy full SHA for c15cf3d
1 file changed
media/libstagefright/AwesomePlayer.cpp
@@ -1841,6 +1841,10 @@ void AwesomePlayer::postCheckAudioStatusEvent(int64_t delayUs) {
1841
return;
1842
}
1843
mAudioStatusEventPending = true;
1844
+ // Do not honor delay when looping in order to limit audio gap
1845
+ if (mFlags & (LOOPING | AUTO_LOOPING)) {
1846
+ delayUs = 0;
1847
+ }
1848
mQueue.postEventWithDelay(mCheckAudioStatusEvent, delayUs);
1849
1850
0 commit comments