]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf: aliases: hdmi: Include unconditionally the
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tue, 23 Apr 2024 07:09:46 +0000 (10:09 +0300)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Apr 2024 07:11:53 +0000 (09:11 +0200)
The hdmi.conf contains the high level macro to be used by cards to create
the hdmi: device.
Instead of including it in different config files, include it in the main
aliases.conf and remove it's inclusion by other config files.

This change is needed to add support for the hdmi: device mapping via UCM.

Closes: https://github.com/alsa-project/alsa-lib/pull/393
Suggested-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf/cards/HDA-Intel.conf
src/conf/cards/HdmiLpeAudio.conf
src/conf/cards/aliases.conf
src/conf/cards/vc4-hdmi.conf

index d5a65906eacd706b29d6ba4bbc31fe1a88ae44dd..5451606f4d31b4c75ecc63ff08624d3336ad4a56 100644 (file)
@@ -163,8 +163,6 @@ HDA-Intel.pcm.iec958.0 {
        hint.device 1
 }
 
-<confdir:pcm/hdmi.conf>
-
 HDA-Intel.pcm.hdmi.common {
        @args [ CARD DEVICE CTLINDEX AES0 AES1 AES2 AES3 ]
        @args.CARD {
index a1e493daa32497f2b479e35601eecabf62055d59..a9104f43e9db80497087b78fbd77e00f3d4b17ae 100644 (file)
@@ -2,8 +2,6 @@
 # Configuration for the Intel HDMI/DP LPE audio
 #
 
-<confdir:pcm/hdmi.conf>
-
 HdmiLpeAudio.pcm.hdmi.0 {
        @args [ CARD AES0 AES1 AES2 AES3 ]
        @args.CARD {
index 7e352f76848f90a5688196bc9ef902fdda62f2b3..a54824ae636b2148e0707b09c214e3a696e30ffe 100644 (file)
@@ -62,3 +62,4 @@ VC4-HDMI cards.vc4-hdmi
 <confdir:pcm/default.conf>
 <confdir:pcm/dmix.conf>
 <confdir:pcm/dsnoop.conf>
+<confdir:pcm/hdmi.conf>
index af87b3a8aed0cf9e012b54592a02973cb86a5fc8..0f313d82119bc7e1b14e5fc742f7c2321d82b01c 100644 (file)
@@ -3,8 +3,6 @@
 # subframe conversion
 #
 
-<confdir:pcm/hdmi.conf>
-
 vc4-hdmi.pcm.hdmi.0 {
        @args [ CARD AES0 AES1 AES2 AES3 ]
        @args.CARD {