diff options
author | rcombs <rcombs@rcombs.me> | 2020-06-17 21:01:44 -0500 |
---|---|---|
committer | rcombs <rcombs@rcombs.me> | 2020-06-17 21:09:31 -0500 |
commit | 43a0939a51268a52bfa7f268201f3ea1f8f2043d (patch) | |
tree | c5177ece9e94ce7d1d511de2dc49531f78459942 | |
parent | 8102b83cb235b4b37f1e8897acbc99d67ae073b1 (diff) | |
download | mpv-43a0939a51268a52bfa7f268201f3ea1f8f2043d.tar.bz2 mpv-43a0939a51268a52bfa7f268201f3ea1f8f2043d.tar.xz |
ao_coreaudio: fix some incorrect channel mappingsrcombs/macos-fixes
-rw-r--r-- | audio/out/ao_coreaudio_chmap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/out/ao_coreaudio_chmap.c b/audio/out/ao_coreaudio_chmap.c index 13ac87e2ba..a1b2b82d96 100644 --- a/audio/out/ao_coreaudio_chmap.c +++ b/audio/out/ao_coreaudio_chmap.c @@ -26,13 +26,13 @@ static const int speaker_map[][2] = { { kAudioChannelLabel_Right, MP_SPEAKER_ID_FR }, { kAudioChannelLabel_Center, MP_SPEAKER_ID_FC }, { kAudioChannelLabel_LFEScreen, MP_SPEAKER_ID_LFE }, - { kAudioChannelLabel_LeftSurround, MP_SPEAKER_ID_BL }, - { kAudioChannelLabel_RightSurround, MP_SPEAKER_ID_BR }, + { kAudioChannelLabel_LeftSurround, MP_SPEAKER_ID_SL }, + { kAudioChannelLabel_RightSurround, MP_SPEAKER_ID_SR }, { kAudioChannelLabel_LeftCenter, MP_SPEAKER_ID_FLC }, { kAudioChannelLabel_RightCenter, MP_SPEAKER_ID_FRC }, { kAudioChannelLabel_CenterSurround, MP_SPEAKER_ID_BC }, - { kAudioChannelLabel_LeftSurroundDirect, MP_SPEAKER_ID_SL }, - { kAudioChannelLabel_RightSurroundDirect, MP_SPEAKER_ID_SR }, + { kAudioChannelLabel_RearSurroundLeft, MP_SPEAKER_ID_BL }, + { kAudioChannelLabel_RearSurroundRight, MP_SPEAKER_ID_BR }, { kAudioChannelLabel_TopCenterSurround, MP_SPEAKER_ID_TC }, { kAudioChannelLabel_VerticalHeightLeft, MP_SPEAKER_ID_TFL }, { kAudioChannelLabel_VerticalHeightCenter, MP_SPEAKER_ID_TFC }, @@ -42,8 +42,8 @@ static const int speaker_map[][2] = { { kAudioChannelLabel_TopBackRight, MP_SPEAKER_ID_TBR }, // unofficial extensions - { kAudioChannelLabel_RearSurroundLeft, MP_SPEAKER_ID_SDL }, - { kAudioChannelLabel_RearSurroundRight, MP_SPEAKER_ID_SDR }, + { kAudioChannelLabel_LeftSurroundDirect, MP_SPEAKER_ID_SDL }, + { kAudioChannelLabel_RightSurroundDirect, MP_SPEAKER_ID_SDR }, { kAudioChannelLabel_LeftWide, MP_SPEAKER_ID_WL }, { kAudioChannelLabel_RightWide, MP_SPEAKER_ID_WR }, { kAudioChannelLabel_LFE2, MP_SPEAKER_ID_LFE2 }, |