media/library/core/src/main
tonihei fe710871aa Use current position code when checking if AudioTrack has pending data
We currently rely on the raw playback head position to check if any
data is pending in the AudioTrack (e.g. to know if the renderer is
still ready). We can use the value returned from getCurrentPositionUs
instead to align the "isReady" logic with the playback position logic.

This has the side effect that getPlaybackHeadPosition position is called
less often when the position is obtained via getTimestamp.

PiperOrigin-RevId: 514747613
2023-03-14 07:39:10 +00:00
..
java/com/google/android/exoplayer2 Use current position code when checking if AudioTrack has pending data 2023-03-14 07:39:10 +00:00
javadoc/com/google/android/exoplayer2/doc-files Update to androidx.media3 2021-10-27 09:12:46 +01:00
res Update translations 2023-03-01 17:46:46 +00:00
AndroidManifest.xml Update to androidx.media3 2021-10-27 09:12:46 +01:00