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

coreaudio: fix layout tag mismatch for L R C Cs


(cherry picked from commit 12683ccc)
Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
parent 20c96c57
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)
......@@ -749,7 +749,7 @@ SetupInputLayout(audio_output_t *p_aout, const audio_sample_format_t *fmt,
else if (fmt->i_physical_channels & AOUT_CHANS_REAR) /* L R Ls Rs */
*inlayout_tag = kAudioChannelLayoutTag_DVD_3;
else if (fmt->i_physical_channels & AOUT_CHANS_CENTER) /* L R C Cs */
*inlayout_tag = kAudioChannelLayoutTag_DVD_3;
*inlayout_tag = kAudioChannelLayoutTag_MPEG_4_0_A;
break;
case 5:
if (fmt->i_physical_channels & (AOUT_CHAN_CENTER)) /* L R Ls Rs C */
......
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