From a4115e80722671d90acb538eac6c1195e98b9334 Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Thu, 11 Apr 2024 15:06:42 +0300 Subject: [PATCH] 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