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.
This commit is contained in:
wm4 2015-06-12 23:08:09 +02:00
parent afdc060bb3
commit 5b269ce696
1 changed files with 2 additions and 0 deletions

View File

@ -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}