Skip to content
Snippets Groups Projects
Commit 082a0305 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf
Browse files

coreaudio: add Lsd/Rsd mapping

Could not test it.
parent 0a65098f
No related branches found
No related tags found
1 merge request!2786coreaudio: fix surround 5.1 / 7.1 mapping on macOS and tvOS
......@@ -629,6 +629,10 @@ AudioChannelLabelToVlcChan(AudioChannelLabel chan, bool swap_rear_surround)
: AOUT_CHAN_MIDDLERIGHT;
case kAudioChannelLabel_CenterSurround:
return AOUT_CHAN_REARCENTER;
case kAudioChannelLabel_LeftSurroundDirect:
return AOUT_CHAN_MIDDLELEFT;
case kAudioChannelLabel_RightSurroundDirect:
return AOUT_CHAN_MIDDLERIGHT;
default:
return 0;
}
......
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