media/library
andrewlewis 81417e1093 Fix workaround for stale passthrough AudioTrack position
When creating a new AC-3 passthrough AudioTrack the position
may advance from an old AudioTrack's position. The workaround
checked for the playback head position returning to zero, but
a subsequent change meant that we'd always start writing data
to the new track immediately (rather than waiting for its
position to 'stabilize' at zero).

Fix the issue by using the AudioTrack position directly. (Nb.
this doesn't handle the case of the stale position before
unwrapping being zero, but it is very unlikely to occur.)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=188319795
2018-03-12 15:05:40 +00:00
..
all Migrate ExoPlayer Gradle build files. 2018-03-02 09:20:02 +00:00
core Fix workaround for stale passthrough AudioTrack position 2018-03-12 15:05:40 +00:00
dash Rename Listener for timeline update to avoid confusion with MediaSourceEventListener. 2018-03-02 09:21:28 +00:00
hls Make the period and initial window positions match for all HLS streams 2018-03-02 09:30:40 +00:00
smoothstreaming Migrate ExoPlayer Gradle build files. 2018-03-02 09:20:02 +00:00
ui Update PlayerView javadoc 2018-03-02 09:26:16 +00:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.