Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
970eb444
authored
Jun 14, 2022
by
Marc Baechinger
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #10322 from DolbyLaboratories:dev-v2-multichannel
PiperOrigin-RevId: 454641746
parents
ab56f865
ea8f6a1f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
RELEASENOTES.md
libraries/common/src/main/java/androidx/media3/common/util/Util.java
RELEASENOTES.md
View file @
970eb444
...
...
@@ -69,6 +69,10 @@
for audio passthrough when the format audio channel count is unset,
which occurs with HLS chunkless preparation
(
[
10204
](
https://github.com/google/ExoPlayer/issues/10204
)
).
*
Configure
`AudioTrack`
with channel mask
`AudioFormat.CHANNEL_OUT_7POINT1POINT4`
if the decoder outputs 12
channel PCM audio
(
[
#10322
](
#https://github.com/google/ExoPlayer/pull/10322
)
.
*
DRM
*
Ensure the DRM session is always correctly updated when seeking
immediately after a format change
...
...
libraries/common/src/main/java/androidx/media3/common/util/Util.java
View file @
970eb444
...
...
@@ -1745,6 +1745,10 @@ public final class Util {
// 8 ch output is not supported before Android L.
return
AudioFormat
.
CHANNEL_INVALID
;
}
case
12
:
return
Util
.
SDK_INT
>=
32
?
AudioFormat
.
CHANNEL_OUT_7POINT1POINT4
:
AudioFormat
.
CHANNEL_INVALID
;
default
:
return
AudioFormat
.
CHANNEL_INVALID
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment