]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf: vc4-hdmi: define pcm configuration block only one time
authorJaroslav Kysela <perex@perex.cz>
Wed, 10 Dec 2025 11:12:47 +0000 (12:12 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 10 Dec 2025 13:01:32 +0000 (14:01 +0100)
There may be multiple vc4-hdmi soundcards in the system. Overwrite
the PCM configurations when loaded multiple times.

BugLink: https://github.com/alsa-project/alsa-lib/issues/488
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf/cards/vc4-hdmi.conf

index 0f313d82119bc7e1b14e5fc742f7c2321d82b01c..7041d1850b3fbb4ff90875c9dec75a314384c615 100644 (file)
@@ -3,7 +3,7 @@
 # subframe conversion
 #
 
-vc4-hdmi.pcm.hdmi.0 {
+vc4-hdmi.pcm.hdmi.!0 {
        @args [ CARD AES0 AES1 AES2 AES3 ]
        @args.CARD {
                type string
@@ -50,7 +50,7 @@ vc4-hdmi.pcm.hdmi.0 {
 }
 
 # default with plug and softvol
-vc4-hdmi.pcm.default {
+vc4-hdmi.pcm.!default {
        @args [ CARD ]
        @args.CARD {
                type string