mirror of
https://github.com/samsonjs/media.git
synced 2026-04-06 11:25:46 +00:00
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 |
||
|---|---|---|
| .. | ||
| java/com/google/android/exoplayer2 | ||
| javadoc/com/google/android/exoplayer2/doc-files | ||
| AndroidManifest.xml | ||