From: Jaroslav Kysela Date: Wed, 10 Dec 2025 15:18:22 +0000 (+0100) Subject: conf: VIA686A,VIA82xx: define pcm configuration block only one time X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=d6b9d7e0bef5ca8a019881b06de7183528ec5bd5;p=alsa-lib.git conf: VIA686A,VIA82xx: define pcm configuration block only one time There may be multiple VIA soundcards in the system. Overwrite the PCM configurations when loaded multiple times. Signed-off-by: Jaroslav Kysela --- diff --git a/src/conf/cards/VIA686A.conf b/src/conf/cards/VIA686A.conf index e4a06f23..c53dd71b 100644 --- a/src/conf/cards/VIA686A.conf +++ b/src/conf/cards/VIA686A.conf @@ -7,7 +7,7 @@ -VIA686A.pcm.front.0 { +VIA686A.pcm.front.!0 { @args [ CARD ] @args.CARD { type string @@ -17,7 +17,7 @@ VIA686A.pcm.front.0 { } # default with dmix/dsnoop -VIA686A.pcm.default { +VIA686A.pcm.!default { @args [ CARD ] @args.CARD { type string @@ -41,7 +41,7 @@ VIA686A.pcm.default { -VIA686A.pcm.iec958.0 { +VIA686A.pcm.iec958.!0 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string diff --git a/src/conf/cards/VIA8233.conf b/src/conf/cards/VIA8233.conf index 9ad321f7..3c25a11b 100644 --- a/src/conf/cards/VIA8233.conf +++ b/src/conf/cards/VIA8233.conf @@ -4,7 +4,7 @@ -VIA8233.pcm.front.0 { +VIA8233.pcm.front.!0 { @args [ CARD ] @args.CARD { type string @@ -15,7 +15,7 @@ VIA8233.pcm.front.0 { # default with softvol/dsnoop # VIA8233 supports multi-playback -VIA8233.pcm.default { +VIA8233.pcm.!default { @args [ CARD ] @args.CARD { type string @@ -46,7 +46,7 @@ VIA8233.pcm.default { -VIA8233.pcm.surround40.0 { +VIA8233.pcm.surround40.!0 { @args [ CARD ] @args.CARD { type string @@ -91,7 +91,7 @@ VIA8233.pcm.surround40.0 { -VIA8233.pcm.surround51.0 { +VIA8233.pcm.surround51.!0 { @args [ CARD ] @args.CARD { type string @@ -146,7 +146,7 @@ VIA8233.pcm.surround51.0 { -VIA8233.pcm.iec958.0 { +VIA8233.pcm.iec958.!0 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string diff --git a/src/conf/cards/VIA8233A.conf b/src/conf/cards/VIA8233A.conf index 679fccf3..c9e56e20 100644 --- a/src/conf/cards/VIA8233A.conf +++ b/src/conf/cards/VIA8233A.conf @@ -4,7 +4,7 @@ -VIA8233A.pcm.front.0 { +VIA8233A.pcm.front.!0 { @args [ CARD ] @args.CARD { type string @@ -14,7 +14,7 @@ VIA8233A.pcm.front.0 { } # default with dmix/dsnoop -VIA8233A.pcm.default { +VIA8233A.pcm.!default { @args [ CARD ] @args.CARD { type string @@ -38,7 +38,7 @@ VIA8233A.pcm.default { -VIA8233A.pcm.surround40.0 { +VIA8233A.pcm.surround40.!0 { @args [ CARD ] @args.CARD { type string @@ -89,7 +89,7 @@ VIA8233A.pcm.surround40.0 { -VIA8233A.pcm.surround51.0 { +VIA8233A.pcm.surround51.!0 { @args [ CARD ] @args.CARD { type string @@ -150,7 +150,7 @@ VIA8233A.pcm.surround51.0 { -VIA8233A.pcm.iec958.0 { +VIA8233A.pcm.iec958.!0 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string diff --git a/src/conf/cards/VIA8237.conf b/src/conf/cards/VIA8237.conf index 29d8e00f..49fd6f2c 100644 --- a/src/conf/cards/VIA8237.conf +++ b/src/conf/cards/VIA8237.conf @@ -4,7 +4,7 @@ -VIA8237.pcm.front.0 { +VIA8237.pcm.front.!0 { @args [ CARD ] @args.CARD { type string @@ -15,7 +15,7 @@ VIA8237.pcm.front.0 { # default with softvol/dsnoop # VIA8237 supports multi-playback -VIA8237.pcm.default { +VIA8237.pcm.!default { @args [ CARD ] @args.CARD { type string @@ -46,7 +46,7 @@ VIA8237.pcm.default { -VIA8237.pcm.surround40.0 { +VIA8237.pcm.surround40.!0 { @args [ CARD ] @args.CARD { type string @@ -84,7 +84,7 @@ VIA8237.pcm.surround40.0 { -VIA8237.pcm.surround51.0 { +VIA8237.pcm.surround51.!0 { @args [ CARD ] @args.CARD { type string @@ -136,7 +136,7 @@ VIA8237.pcm.surround51.0 { -VIA8237.pcm.iec958.0 { +VIA8237.pcm.iec958.!0 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string