diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2013-10-05 02:25:42 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-10-07 12:48:15 +0200 |
commit | a5b7d510b2220cccbcaeb1b87a6d8c47efeb154c (patch) | |
tree | 19f2d36a29f4bb0bd7e830dd2d5363f9a4c9f7c8 /include | |
parent | 11f7c52d90b21a51b0bc6a8b642c6ed150bdc219 (diff) |
ALSA: hda - hdmi: Fix channel maps with less common speakers
For some speakers and slots the CEA slot <-> speaker assignment depends
on the used CEA Channel Allocation value.
Therefore the from_cea_slot() and to_cea_slot() helpers currently only
work correctly for the regular 7.1 speakers.
Fix them to work with all speakers, taking the re-ordered CA index as
input and adapting use sites accordingly.
This change allows manual channel mapping to actually work for all CEA
allocated speakers. Additionally, this fixes incorrect channel map
reporting in automatic channel mapping mode when an affected speaker
position is used (e.g. 6.1 map which contains an RC speaker).
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions