diff options
author | wm4 <wm4@nowhere> | 2015-06-12 23:08:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-12 23:08:09 +0200 |
commit | 5b269ce696f655358c28da11f17b6d86678cb729 (patch) | |
tree | 7140e2c14d61393d86ea0b6a5487b58fe6dd024e /audio | |
parent | afdc060bb3d2558130e48a76a0a342be034e294c (diff) | |
download | mpv-5b269ce696f655358c28da11f17b6d86678cb729.tar.bz2 mpv-5b269ce696f655358c28da11f17b6d86678cb729.tar.xz |
ao_alsa: make it accept 7.1 over HDMI
SDR/SDL is what lavc outputs for 7.1(rear), while RRC/RLC is what ALSA
uses for some 7.1 layouts, so this makes sense to me.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_alsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c index 779a669150..316bdc0b3c 100644 --- a/audio/out/ao_alsa.c +++ b/audio/out/ao_alsa.c @@ -251,6 +251,8 @@ static const int alsa_to_mp_channels[][2] = { {SND_CHMAP_TRL, MP_SP(TBL)}, {SND_CHMAP_TRR, MP_SP(TBR)}, {SND_CHMAP_TRC, MP_SP(TBC)}, + {SND_CHMAP_RRC, MP_SP(SDR)}, + {SND_CHMAP_RLC, MP_SP(SDL)}, {SND_CHMAP_MONO, MP_SP(FC)}, {SND_CHMAP_NA, MP_SPEAKER_ID_NA}, {SND_CHMAP_LAST, MP_SPEAKER_ID_COUNT} |