Skip to content

Conversation

dwhea
Copy link
Contributor

@dwhea dwhea commented Aug 19, 2025

The Ac4Util format builder can return channel counts up to 21. These channel counts do not have a matching channel mask. To support AC-4 offload/passthrough to offloaded decoders, override the channel count to 2 so that offload/passthrough AudioTracks are built with stereo channel mask so they can reach AC-4 offloaded decoders.

This change restores the channel count used prior to 29bda3b for passthrough.

The Ac4Util format builder can return channel counts up to 21. These
channel counts do not have a matching channel mask. To support AC-4
offload/passthrough to offloaded decoders, override the channel count
to 2 so that offload/passthrough AudioTracks are built with stereo
channel mask so they can reach AC-4 offloaded decoders.

This change restores the channel count used prior to
29bda3b for passthrough.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant