media/testdata
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
..
src End to end playback test for gapless playback 2020-10-06 14:30:19 +01:00
build.gradle Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
README.md Create testdata module 2020-02-11 17:08:45 +00:00

ExoPlayer test data

Provides sample data for ExoPlayer unit and instrumentation tests.