mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

Upon track transition of offloaded playback of gapless tracks, the framework will reset the audiotrack frame position. The `AudioTrackPositionTracker`'s `AudioTimestampPoller` must be made to expect the reset and cache accumulated sum of `AudioTimestamp.framePosition`. #cherrypick PiperOrigin-RevId: 647294360