]> git.alsa-project.org Git - alsa-lib.git/commitdiff
conf: FWSpeakers: 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 FWSpeakers soundcards in the system. Overwrite
the PCM configurations when loaded multiple times.

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

index cd6fa6050b3d37fb65f970a0691f6664263724db..96ab5cb903507324258f2ebbe43aa8d5dcea207d 100644 (file)
@@ -2,7 +2,7 @@
 # Configuration for the LaCie Firewire speakers
 #
 
-FWSpeakers.pcm.default {
+FWSpeakers.pcm.!default {
        @args [ CARD ]
        @args.CARD {
                type string
@@ -16,7 +16,7 @@ FWSpeakers.pcm.default {
 
 <confdir:pcm/front.conf>
 
-FWSpeakers.pcm.front.0 {
+FWSpeakers.pcm.front.!0 {
        @args [ CARD ]
        @args.CARD {
                type string