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

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

index 0ddf799cd029b97a196d01b1325abdc98a168283..14cfdbe88ca0ba9f2b631a6a3bbb893a1f526785 100644 (file)
@@ -4,7 +4,7 @@
 
 <confdir:pcm/front.conf>
 
-FM801.pcm.front.0 {
+FM801.pcm.front.!0 {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -14,7 +14,7 @@ FM801.pcm.front.0 {
 }      
 
 # default with dmix/dsnoop
-FM801.pcm.default {
+FM801.pcm.!default {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -49,7 +49,7 @@ FM801.pcm.surround51.0 "cards.FM801.pcm.front.0"
 
 <confdir:pcm/iec958.conf>
 
-FM801.pcm.iec958.0 {
+FM801.pcm.iec958.!0 {
        @args [ CARD AES0 AES1 AES2 AES3 ]
        @args.CARD {
                type string