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 (cherry picked from commit 1b24e6fd)
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| audio | Loading commit data... | |
| drm | Loading commit data... | |
| metadata | Loading commit data... | |
| offline | Loading commit data... | |
| source | Loading commit data... | |
| text | Loading commit data... | |
| trackselection | Loading commit data... | |
| ui | Loading commit data... | |
| upstream | Loading commit data... | |
| util | Loading commit data... | |
| video | Loading commit data... | |
| BasePlayer.java | Loading commit data... | |
| BundleListRetriever.java | Loading commit data... | |
| Bundleable.java | Loading commit data... | |
| C.java | Loading commit data... | |
| DeviceInfo.java | Loading commit data... | |
| ExoPlayerLibraryInfo.java | Loading commit data... | |
| Format.java | Loading commit data... | |
| ForwardingPlayer.java | Loading commit data... | |
| HeartRating.java | Loading commit data... | |
| IllegalSeekPositionException.java | Loading commit data... | |
| LegacyMediaPlayerWrapper.java | Loading commit data... | |
| MediaItem.java | Loading commit data... | |
| MediaMetadata.java | Loading commit data... | |
| ParserException.java | Loading commit data... | |
| PercentageRating.java | Loading commit data... | |
| PlaybackException.java | Loading commit data... | |
| PlaybackParameters.java | Loading commit data... | |
| Player.java | Loading commit data... | |
| Rating.java | Loading commit data... | |
| SimpleBasePlayer.java | Loading commit data... | |
| StarRating.java | Loading commit data... | |
| ThumbRating.java | Loading commit data... | |
| Timeline.java | Loading commit data... | |
| Tracks.java | Loading commit data... | |
| package-info.java | Loading commit data... |