Skip to content
Snippets Groups Projects
Commit fb75641b authored by Thomas Guillem's avatar Thomas Guillem
Browse files

audiounit: fix surround input on stereo output


setPreferredOutputNumberOfChannels can fail, don't configure more
channels than accepted. The OS will drop the extra channels instead of
downmixing it.

When I first tested it, the apple TV was configured to always accept
surround even with a stereo output (Change Format = Off) but this is not
necessarily the case.

(cherry picked from commit 6c08c24b)
Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
parent 99b63d64
No related branches found
No related tags found
Loading
Pipeline #330361 passed with stage
in 12 minutes and 37 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment