Channel mapping on HDMI was incorrect for 4 and 8 channels. Create a PCM device so alsa-lib will remap in user space.
Signed-off-by: Tom Hochstein <[email protected]> --- recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf index 0f9d0c8..c511018 100644 --- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf +++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf @@ -427,3 +427,33 @@ pcm.sai1to4{ bindings.2 1 bindings.3 9 } + +pcm.cdnhdmi4ch { + type dshare + slave { + pcm "hw:3,0" + channels 4 + } + ipc_key 5144458 + bindings.0 0 + bindings.1 2 + bindings.2 1 + bindings.3 3 +} + +pcm.cdnhdmi8ch { + type dshare + slave { + pcm "hw:3,0" + channels 8 + } + ipc_key 5144458 + bindings.0 0 + bindings.1 4 + bindings.2 1 + bindings.3 5 + bindings.4 2 + bindings.5 6 + bindings.6 3 + bindings.7 7 +} -- 2.7.4 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
