media/library
claincly 4d3a781ca4 End to end playback test for gapless playback
In the test, a real instance of SimpleExoplayer plays two identical Mp3 files.
The GaplessMp3Decoder will write randomized data to decoder output on receiving
input. The test compares the bytes written by the decoder with the bytes
received by the AudioTrack, to verify that the trimming of encoder delay/
padding is correctly carried out.

Test mp3 has delay 576 frames and padding 1404 frames. File generated from:
ffmpeg -f lavfi -i "sine=frequency=1000:duration=1" test.mp3

This change needs robolectric version 4.5, which is not currently released (2020 Sep 30).

PiperOrigin-RevId: 334648486
2020-10-06 14:30:19 +01:00
..
all Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
common Util.getStringForTime() prefixes negative times 2020-09-25 16:32:37 +01:00
core End to end playback test for gapless playback 2020-10-06 14:30:19 +01:00
dash Align live window to available DASH segments 2020-09-25 16:34:28 +01:00
extractor Preserve limit when resetting ParsableByteArray in OggPacket#populate 2020-10-06 14:30:01 +01:00
hls Exclude Guava transitive annotation dependencies 2020-09-11 16:01:15 +01:00
smoothstreaming Simplify DefaultMediaSourceFactory ad configuration 2020-09-07 20:43:41 +01:00
ui Do not require subtitleButton in custom layouts of StyledPlayerView 2020-09-30 11:55:18 +01: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.