Skip to content
Snippets Groups Projects
Commit dc181df1 authored by Thomas Guillem's avatar Thomas Guillem Committed by Steve Lhomme
Browse files

coreaudio: use a switch case instead of an array


The current size of the array is 35 for 9 elements.

The maximum value for AudioChannelLabel is 65536 and we want to avoid
having an array of 65536 for very few elements.

(cherry picked from commit 9d676d26)
Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
parent ea9c3017
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!2796[3.0] coreaudio: fix surround 5.1 / 7.1 mapping on macOS and tvOS (!2786)
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