]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf: Echo3G: 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 <jkysela@redhat.com>
Wed, 10 Dec 2025 15:29:47 +0000 (16:29 +0100)
There may be multiple Echo3G soundcards in the system. Overwrite
the PCM configurations when loaded multiple times.

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

index 766f13f7702856fec013f7467bd3b49806ea4e08..fb2a7b67ede71fa7b5935cf0e9d8288e46b220fa 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 <confdir:pcm/front.conf>
-Echo_Echo3G.pcm.front.0 {
+Echo_Echo3G.pcm.front.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -15,7 +15,7 @@ Echo_Echo3G.pcm.front.0 {
 }
 
 <confdir:pcm/rear.conf>
-Echo_Echo3G.pcm.rear.0 {
+Echo_Echo3G.pcm.rear.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -27,7 +27,7 @@ Echo_Echo3G.pcm.rear.0 {
 }
 
 <confdir:pcm/center_lfe.conf>
-Echo_Echo3G.pcm.center_lfe.0 {
+Echo_Echo3G.pcm.center_lfe.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -39,7 +39,7 @@ Echo_Echo3G.pcm.center_lfe.0 {
 }
 
 <confdir:pcm/side.conf>
-Echo_Echo3G.pcm.side.0 {
+Echo_Echo3G.pcm.side.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -51,7 +51,7 @@ Echo_Echo3G.pcm.side.0 {
 }
 
 <confdir:pcm/surround40.conf>
-Echo_Echo3G.pcm.surround40.0 {
+Echo_Echo3G.pcm.surround40.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -86,7 +86,7 @@ Echo_Echo3G.pcm.surround40.0 {
 }
 
 <confdir:pcm/surround41.conf>
-Echo_Echo3G.pcm.surround41.0 {
+Echo_Echo3G.pcm.surround41.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -131,7 +131,7 @@ Echo_Echo3G.pcm.surround41.0 {
 }
 
 <confdir:pcm/surround50.conf>
-Echo_Echo3G.pcm.surround50.0 {
+Echo_Echo3G.pcm.surround50.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -176,7 +176,7 @@ Echo_Echo3G.pcm.surround50.0 {
 }
 
 <confdir:pcm/surround51.conf>
-Echo_Echo3G.pcm.surround51.0 {
+Echo_Echo3G.pcm.surround51.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -222,7 +222,7 @@ Echo_Echo3G.pcm.surround51.0 {
 }
 
 <confdir:pcm/surround71.conf>
-Echo_Echo3G.pcm.surround71.0 {
+Echo_Echo3G.pcm.surround71.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -279,7 +279,7 @@ Echo_Echo3G.pcm.surround71.0 {
 }
 
 <confdir:pcm/iec958.conf>
-Echo_Echo3G.pcm.iec958.0 {
+Echo_Echo3G.pcm.iec958.!0 {
        @args [ CARD AES0 AES1 AES2 AES3 ]
        @args.CARD {
                type string