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