]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
ucm2: Intel/sof-hda-dsp: Create ALSA config file for
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 11 Apr 2024 12:06:42 +0000 (15:06 +0300)
committerJaroslav Kysela <perex@perex.cz>
Mon, 29 Apr 2024 13:36:17 +0000 (15:36 +0200)
commita4115e80722671d90acb538eac6c1195e98b9334
tree4ba8b2cae319403ebe19b3091267b8237c5f8e56
parenta3e1786a2025663ef9da74c9f7f2d0ecf876c0e2
ucm2: Intel/sof-hda-dsp: Create ALSA config file for

If the HDMI PCM index (3-5) is found in iec61937-pcm list of the card's
components list then use the HdmiPCM/HdmiPCMSave macros to create the
configuration file.

The PCMs that will be created are:
aplay -L | grep hdmi

hdmi:CARD=sofhdadsp,DEV=0
hdmi:CARD=sofhdadsp,DEV=1
hdmi:CARD=sofhdadsp,DEV=2

Audio servers (Pulseaudio, Pipewrire) or applications then can use these for
bytestream passthrough, for example:
mplayer -ao alsa:device=hdmi=sofhdadsp,DEV=0 -ac hwdts <video with dts>

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf