From: Jaroslav Kysela Date: Wed, 10 Dec 2025 15:18:22 +0000 (+0100) Subject: conf: VX222,VXPocket: define pcm configuration block only one time X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=4bcd33ef9dc6d8439cc6573575907ecf89271fe2;p=alsa-lib.git conf: VX222,VXPocket: define pcm configuration block only one time There may be multiple VX soundcards in the system. Overwrite the PCM configurations when loaded multiple times. Signed-off-by: Jaroslav Kysela --- diff --git a/src/conf/cards/VX222.conf b/src/conf/cards/VX222.conf index 3385f25b..2c6e2297 100644 --- a/src/conf/cards/VX222.conf +++ b/src/conf/cards/VX222.conf @@ -4,7 +4,7 @@ -VX222.pcm.front.0 { +VX222.pcm.front.!0 { @args [ CARD ] @args.CARD { type string @@ -15,7 +15,7 @@ VX222.pcm.front.0 { -VX222.pcm.iec958.0 { +VX222.pcm.iec958.!0 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string diff --git a/src/conf/cards/VXPocket.conf b/src/conf/cards/VXPocket.conf index fe44ff53..90b13347 100644 --- a/src/conf/cards/VXPocket.conf +++ b/src/conf/cards/VXPocket.conf @@ -4,7 +4,7 @@ -VXPocket.pcm.front.0 { +VXPocket.pcm.front.!0 { @args [ CARD ] @args.CARD { type string @@ -15,7 +15,7 @@ VXPocket.pcm.front.0 { -VXPocket.pcm.iec958.0 { +VXPocket.pcm.iec958.!0 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string diff --git a/src/conf/cards/VXPocket440.conf b/src/conf/cards/VXPocket440.conf index 197c2d6c..87a0855a 100644 --- a/src/conf/cards/VXPocket440.conf +++ b/src/conf/cards/VXPocket440.conf @@ -4,7 +4,7 @@ -VXPocket440.pcm.front.0 { +VXPocket440.pcm.front.!0 { @args [ CARD ] @args.CARD { type string @@ -15,7 +15,7 @@ VXPocket440.pcm.front.0 { -VXPocket440.pcm.rear.0 { +VXPocket440.pcm.rear.!0 { @args [ CARD ] @args.CARD { type string @@ -27,7 +27,7 @@ VXPocket440.pcm.rear.0 { -VXPocket440.pcm.surround40.0 { +VXPocket440.pcm.surround40.!0 { @args [ CARD ] @args.CARD { type string @@ -64,7 +64,7 @@ VXPocket440.pcm.surround40.0 { -VXPocket440.pcm.iec958.0 { +VXPocket440.pcm.iec958.!0 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string