Hi Takashi,
This patchset attempts to support multi-channel HDMI audio.
It contains two basic operations:
- setup the CA(channel-allocation) byte in the audio infoframe - setup the converter channel to HDMI slot mapping
Please read patch 3 for more detailed descriptions:
[PATCH 1/4] hda: make standalone hdmi_fill_audio_infoframe() [PATCH 2/4] hda: make global snd_print_channel_allocation() [PATCH 3/4] hda: HDMI channel allocations for audio infoframe [PATCH 4/4] hda: HDMI channel mapping cleanups
The current implementation only does minimal works that ensure multi-channel audio playing out. However the wrong speakers may be selected. We could elaborate the framework/policy if it proves to be a problem.
Thank you, Fengguang