mirror of
https://github.com/androidx/media.git
synced 2025-05-18 13:09:56 +08:00

hasPendingData() should signal whether the final audio sink still holds unconsumed frames so that the renderer can accurately detect a buffering state. Before this change, a media item transition could incorrectly trigger a buffering state in the internal sequence players and cause CompositionPlayer to interrupt playback. See Issue: androidx/media#2228. PiperOrigin-RevId: 756252645