Skip to content
Snippets Groups Projects
Commit 9d676d26 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf
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.
parent 87bbf8f2
No related branches found
No related tags found
1 merge request!2786coreaudio: fix surround 5.1 / 7.1 mapping on macOS and tvOS
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