media/library
tonihei 6444562a2b Simplify playback parameter state tracking in DefaultAudioSink
This makes it easier to reason about some parts of the code and
will eventually allow to easily switch between AudioProcessor-
based on AudioSink-based speed adjustment.

The current state saves the applicable playback parameters
in separate variables depending on which speed adjustment
path is used. Moreover, the AudioProcessor-based logic keeps
a chain of pending parameter changes and we derive the last
applicable one everytime we need the current parameters.

After this change, this is simplified by
 - keeping a common value for playback parameters independent
   of the actual path we use for adjustment.
 - keeping the final ("current") parameters directly, instead
   of deriving it from a chain of yet to be applied parameters.

PiperOrigin-RevId: 505097294
2023-02-01 14:16:44 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Generalise UnhandledAudioFormatException for non-input use cases. 2023-02-01 14:12:25 +00:00
core Simplify playback parameter state tracking in DefaultAudioSink 2023-02-01 14:16:44 +00:00
dash Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 16:12:02 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Deprecate C.POSITION_UNSET in favour of C.INDEX_UNSET 2022-12-12 12:24:50 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
effect Make setResolution package private 2023-02-01 13:55:11 +00:00
extractor Fix javadoc references to writeSampleData 2023-01-18 13:26:52 +00:00
hls Refactor transformation completion 2022-11-21 14:27:00 +00:00
rtsp Add javadoc links to README files 2022-12-12 13:07:19 +00:00
smoothstreaming Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 16:12:02 +00:00
transformer Generalise UnhandledAudioFormatException for non-input use cases. 2023-02-01 14:12:25 +00:00
ui Tweak UI behavior when commands are missing. 2023-02-01 14:03:50 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +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.