media/libraries
michaelkatz a789db5b41 Update cached playbackHeadPosition when pausing after AudioTrack.stop()
In some streaming scenarios, like offload, the sink may finish writing buffers a bit before playback reaches the end of the track. In this case a player may pause while in this 'stopping' state.

The AudioTrackPositionTracker needs to update the cached values it uses to calculate position in the `PLAYSTATE_STOPPED`/`PLAYSTATE_STOPPING` states if pause/play are called during this period.

PiperOrigin-RevId: 571345914
2023-10-06 08:37:24 -07:00
..
2023-10-06 03:44:14 -07:00
2023-10-06 03:44:14 -07:00
2023-10-06 03:44:14 -07:00
2023-10-06 03:44:14 -07:00
2023-10-06 03:44:14 -07:00