media/library
christosts 1b24e6fd14 Set valid channel masks for 8 and 12 channels on all Android versions
Util.getAudioTrackChannelConfig() maps a channel count to a
channel mask that is passed to AudioTrack. The method expected that
playback of 8-channel audio is possible from Android 5.1 and playback of
12-channel audio is only possible from Android 12L. However, there is no
restriction on the upper number of channels that can be passed to the
AudioTrack. google/ExoPlayer#10701 is an example where the audio decoder
outputs 12 channels on an Android 10.

This change removes the restrictions for 8 and 12 channels. Note, we still
do not support playback of arbitrary number of channels as it would require
further changes to DefaultAudioSink.

#minor-release

Issue: google/ExoPlayer#10701
PiperOrigin-RevId: 488659831
2022-11-16 12:28:48 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Set valid channel masks for 8 and 12 channels on all Android versions 2022-11-16 12:28:48 +00:00
core Set valid channel masks for 8 and 12 channels on all Android versions 2022-11-16 12:28:48 +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 Fix instrumentation tests not working via Gradle 2022-10-19 22:54:45 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
effect Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:10:21 +00:00
extractor Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:10:21 +00:00
hls Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:10:21 +00:00
rtsp Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 16:12:02 +00:00
smoothstreaming Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 16:12:02 +00:00
transformer Utilize AudioProcessingPipeline in Transformer. 2022-11-16 12:21:36 +00:00
ui Remove ForwardingPlayer special case from PlayerControlView.setPlayer 2022-10-20 03:08:12 +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.