media/libraries
tonihei 62c0352416 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:34:14 +00:00
..
cast Map PLAYER_STATE_LOADING to STATE_BUFFERING 2023-02-27 17:59:16 +00:00
common Update effect to take in and use a GlObjectsProvider 2023-03-14 07:33:25 +00:00
database Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource Add missing @param tags 2023-03-07 11:49:24 +00:00
datasource_cronet Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_okhttp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_rtmp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_av1 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_ffmpeg Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_flac Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_opus Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_vp9 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
effect Update effect to take in and use a GlObjectsProvider 2023-03-14 07:33:25 +00:00
exoplayer Use current position code when checking if AudioTrack has pending data 2023-03-14 07:34:14 +00:00
exoplayer_dash Make DefaultDashChunkSource more robust against empty segment timelines 2023-03-07 15:52:07 +00:00
exoplayer_hls Add missing @param tags 2023-03-07 11:49:24 +00:00
exoplayer_ima Add ad event listeners in the Looper event of the ad manager callback 2023-02-13 12:26:04 +00:00
exoplayer_rtsp Catch IllegalArgumentExceptions in RTSP Response parsing 2023-02-13 14:18:53 +00:00
exoplayer_smoothstreaming Remove @see tags with <a> tags 2023-03-01 17:25:48 +00:00
exoplayer_workmanager Add javadoc links to README files 2022-12-12 11:19:23 +00:00
extractor Add missing @param tags 2023-03-07 11:49:24 +00:00
session Document that custom commands can only be sent if they are defined 2023-03-14 07:32:36 +00:00
test_data Pass Metadata to Muxer when adding a track. 2023-03-07 11:56:53 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Exclude test_session_{common,current} from API and Javadoc tests 2023-03-07 11:48:38 +00:00
test_session_current Exclude test_session_{common,current} from API and Javadoc tests 2023-03-07 11:48:38 +00:00
test_utils Add missing @param tags 2023-03-07 11:49:24 +00:00
test_utils_robolectric Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
transformer Update effect to take in and use a GlObjectsProvider 2023-03-14 07:33:25 +00:00
ui Fix lint-baseline.xml for latest UI translations 2023-03-02 17:21:16 +00:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00