]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf: SI7018: define pcm configuration block only one time
authorJaroslav Kysela <perex@perex.cz>
Wed, 10 Dec 2025 15:18:15 +0000 (16:18 +0100)
committerJaroslav Kysela <jkysela@redhat.com>
Wed, 10 Dec 2025 15:36:20 +0000 (16:36 +0100)
There may be multiple SI7018 soundcards in the system. Overwrite
the PCM configurations when loaded multiple times.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf/cards/SI7018.conf

index 02b8fc877ff362c0807ef45dc109536b157c31b6..33d190857f922a1d53f7a8338e2c444ae9639a6c 100644 (file)
@@ -6,7 +6,7 @@
 
 <confdir:pcm/front.conf>
 
-SI7018.pcm.front.0 {
+SI7018.pcm.front.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -18,7 +18,7 @@ SI7018.pcm.front.0 {
 
 <confdir:pcm/rear.conf>
 
-SI7018.pcm.rear.0 {
+SI7018.pcm.rear.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -44,7 +44,7 @@ SI7018.pcm.rear.0 {
 
 <confdir:pcm/surround40.conf>
 
-SI7018.pcm.surround40.0 {
+SI7018.pcm.surround40.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -83,7 +83,7 @@ SI7018.pcm.surround40.0 {
 <confdir:pcm/surround50.conf>
 <confdir:pcm/surround51.conf>
 
-SI7018.pcm.surround51.0 {
+SI7018.pcm.surround51.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -130,7 +130,7 @@ SI7018.pcm.surround51.0 {
 
 <confdir:pcm/iec958.conf>
 
-SI7018.pcm.iec958.0 {
+SI7018.pcm.iec958.!0 {
        @args [ CARD AES0 AES1 AES2 AES3 ]
        @args.CARD {
                type string