media/libraries/exoplayer/src
tianyifeng 243c29a8ad Provide access to original media timestamps in AudioSink.
* Add `setOutputStreamOffsetUs(long)` method in `AudioSink`.
* Add private methods `setOutputStreamOffsetUs(long)` method in `MediaCodecRenderer` and `DecoderAudioRenderer`.
* Add protected method `onOutputStreamOffsetUs(long)` method in `MediaCodecRenderer`, in which:
  * `MediaCodecRenderer` itself will be no-op for this method.
  * `MediaCodecAudioRenderer` will propagate this value to its `audioSink`.
* Add logics in `DecoderAudioRenderer` to calculate `outputStreamOffsetUs`.

PiperOrigin-RevId: 479265429
(cherry picked from commit 5bff862374)
2022-10-06 09:58:37 +00:00
..
androidTest Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
main Provide access to original media timestamps in AudioSink. 2022-10-06 09:58:37 +00:00
test Provide access to original media timestamps in AudioSink. 2022-10-06 09:58:37 +00:00