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

While playback thread is 'asleep' during audio offload playback, the playbackInfo.positionUs is not being constantly updated. During this time, the returned value from getCurrentPosition should return an estimate based on the most recent value and playback speed. PiperOrigin-RevId: 516550509