media/library
andrewlewis e3eddc4d20 Apply new playback parameters only once drained
Previously the SonicAudioProcessor and SilenceSkippingAudioProcessor would track
their pending playback parameters and only apply them in flush(). Having the
values only take effect once flushed made the processors a bit more difficult to
use, especially because the value returned by isActive wouldn't update
immediately.

Make DefaultAudioSink only set the new speed/pitch/skip silence setting after
the audio processors have drained. This means it's no longer necessary to keep
track of pending parameter values and also fixes a bug where initial playback
parameters weren't applied because the audio processors weren't flushed while
uninitialized before DefaultAudioSink called isActive() on them.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=191586727
2018-04-07 19:03:21 +01:00
..
all Migrate ExoPlayer Gradle build files. 2018-03-02 09:20:02 +00:00
core Apply new playback parameters only once drained 2018-04-07 19:03:21 +01:00
dash Don't refresh DASH manifest if minUpdatePeriod is unset 2018-04-03 15:40:41 +01:00
hls Remove unnecessary line from test manifests 2018-04-03 15:30:40 +01:00
smoothstreaming Remove unnecessary line from test manifests 2018-04-03 15:30:40 +01:00
ui Don't call getLayoutDirection before API level 17 2018-03-29 17:58:38 +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.