From: Peter Ujfalusi Date: Thu, 11 Apr 2024 12:07:30 +0000 (+0300) Subject: ucm2: sof-soundwire: Create ALSA config file for hdmi: X-Git-Tag: v1.2.12~9 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2740b6c157c048deb950fd6e5792204568019034;p=alsa-ucm-conf.git ucm2: sof-soundwire: Create ALSA config file for hdmi: 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=sofsoundwire,DEV=0 hdmi:CARD=sofsoundwire,DEV=1 hdmi:CARD=sofsoundwire,DEV=2 Audio servers (Pulseaudio, Pipewrire) or applications then can use these for bytestream passthrough, for example: mplayer -ao alsa:device=hdmi=sofsoundwire,DEV=0 -ac hwdts