media/testutils/src/main/java/com/google/android/exoplayer2/testutil
andrewlewis 9c7950f342 Add AudioSink interface and use it from audio renderers
This change allows applications to provide custom AudioSinks, which could be
based on android.media.AudioTrack like AudioTrackAudioSink, or could be
completely custom.

The refactoring is mostly mechanical and shouldn't result in any functionality
changes.

Some android.media.AudioTrack-specific details have to appear in the AudioSink
interface so this change modifies the javadoc on the AudioTrack (now AudioSink)
to note that some methods will have no effect.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=170311083
2017-10-03 08:47:20 +01:00
..
Action.java Add abstract, default Player event listener. 2017-10-03 08:44:33 +01:00
ActionSchedule.java Fix bug in ActionSchedule. 2017-09-15 23:25:45 +01:00
CacheAsserts.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
DebugRenderersFactory.java Fix spurious failures due to late decoding. 2017-10-03 08:43:10 +01:00
DecoderCountersUtil.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
Dumper.java Sanitize constants 2016-08-31 15:25:18 +01:00
ExoHostedTest.java Add AudioSink interface and use it from audio renderers 2017-10-03 08:47:20 +01:00
ExoPlayerTestRunner.java Add abstract, default Player event listener. 2017-10-03 08:44:33 +01:00
ExtractorAsserts.java Some extractor fixes 2017-08-02 17:44:41 +01:00
FakeAdaptiveDataSet.java Use TrackGroup instead of TrackSelection in FakeAdaptiveDataSet. 2017-08-01 16:23:39 +01:00
FakeAdaptiveMediaPeriod.java Release streams in fake adaptive media period. 2017-09-15 23:24:28 +01:00
FakeAdaptiveMediaSource.java Add fake adaptive media source. 2017-07-31 20:45:08 +01:00
FakeChunkSource.java Update ABR logic in AdaptiveTrackSelection for live streaming case 2017-09-15 23:33:10 +01:00
FakeClock.java Add postDelayed operation to Clock interface. 2017-09-05 16:34:44 +01:00
FakeDataSet.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
FakeDataSource.java Use Handler callback instead of sleep() to catch InteruptedException. 2017-09-15 23:28:13 +01:00
FakeExtractorInput.java Clean up MP3 synchronization and fix handling < 4 frames. 2016-09-16 18:52:42 +01:00
FakeExtractorOutput.java Propagate track type through ExtractorOutput.track 2017-02-15 16:49:47 +00:00
FakeMediaClockRenderer.java Allow multiple Formats per TrackGroup in testutil fake classes. 2017-07-17 23:08:52 +01:00
FakeMediaPeriod.java Add fake adaptive media period. 2017-07-31 20:43:51 +01:00
FakeMediaSource.java Add fake adaptive media source. 2017-07-31 20:45:08 +01:00
FakeRenderer.java Clear buffer in fake renderer in each iteration. 2017-09-08 22:24:19 +01:00
FakeSampleStream.java Propagate skipped input buffers through to CodecCounters 2017-07-31 21:14:23 +01:00
FakeShuffleOrder.java Add fake shuffle order. 2017-08-29 22:44:13 +01:00
FakeSimpleExoPlayer.java Support stop() in FakeExoPlayer and release media properly. 2017-09-15 23:26:56 +01:00
FakeTimeline.java Merge TimelineAsserts.FakeTimeline into FakeTimeline. 2017-07-05 15:02:39 +01:00
FakeTrackOutput.java Introduce CryptoData parameter object 2017-05-11 05:53:20 +01:00
HostActivity.java Relax test termination for API level 23 and above 2017-09-15 23:40:43 +01:00
LogcatMetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
MetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
OggTestData.java Migrate remaining tests to Robolectric 2017-09-08 22:21:33 +01:00
TestUtil.java Migrate remaining tests to Robolectric 2017-09-08 22:21:33 +01:00
TimelineAsserts.java Support empty concatenations and empty timelines in concatenations. 2017-08-29 23:01:41 +01:00