media/libraries
christosts 491b13622e 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:14:03 +00:00
..
cast Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00
common Set valid channel masks for 8 and 12 channels on all Android versions 2022-11-16 12:14:03 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
datasource_cronet Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00
datasource_okhttp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
datasource_rtmp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Fix Dackka parameter name error in Gav1Decoder and VpxDecoder 2022-11-10 14:48:37 +00:00
decoder_ffmpeg Fix Dackka/Metalava errors in av1, flac, ffmpeg, midi, and opus modules 2022-11-10 14:44:16 +00:00
decoder_flac Fix Dackka/Metalava errors in av1, flac, ffmpeg, midi, and opus modules 2022-11-10 14:44:16 +00:00
decoder_opus Fix Dackka/Metalava errors in av1, flac, ffmpeg, midi, and opus modules 2022-11-10 14:44:16 +00:00
decoder_vp9 Fix Dackka parameter name error in Gav1Decoder and VpxDecoder 2022-11-10 14:48:37 +00:00
effect Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00
exoplayer Set valid channel masks for 8 and 12 channels on all Android versions 2022-11-16 12:14:03 +00:00
exoplayer_dash Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 14:56:54 +00:00
exoplayer_hls Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00
exoplayer_ima Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00
exoplayer_rtsp Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 14:56:54 +00:00
exoplayer_smoothstreaming Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 14:56:54 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00
session Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00
test_data Docs: Update broken bitmap test README link. 2022-11-14 17:53:47 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Align PlaybackStateCompat states with logic in MediaSessionConnector 2022-11-10 14:58:06 +00:00
test_session_current Ensure listener invocations use final state variable. 2022-11-10 15:00:07 +00:00
test_utils Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-07-04 19:36:57 +00:00
transformer Utilize AudioProcessingPipeline in Transformer. 2022-11-16 12:11:47 +00:00
ui Remove ForwardingPlayer special case from PlayerControlView.setPlayer 2022-10-24 10:37:05 +00:00
ui_leanback Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00