media/library/core/src/main
andrewlewis aad5927a2b Update audio renderer position before pausing
As part of pausing DefaultAudioSink, its position-related fields are reset. If
the audio timestamp API was in use, this results in falling back to the
getPlaybackHeadPosition API, which (on some devices) can lead to a jump in the
reported position.

Sample the position before pausing instead of after, to avoid this jump.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189713376
2018-03-28 00:11:01 +01:00
..
java/com/google/android/exoplayer2 Update audio renderer position before pausing 2018-03-28 00:11:01 +01:00
javadoc/com/google/android/exoplayer2/doc-files Update Timeline Javadoc to include brief mention of ad groups 2017-07-21 11:14:38 +01:00
AndroidManifest.xml Modularize ExoPlayer steps 1 + 2. 2017-03-22 18:49:30 +00:00