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 <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2025-12-10 16:18:22 +01:00 committed by Jaroslav Kysela
parent 4c74f3a568
commit d6b9d7e0be
4 changed files with 18 additions and 18 deletions

View file

@ -7,7 +7,7 @@
<confdir:pcm/front.conf> <confdir:pcm/front.conf>
VIA686A.pcm.front.0 { VIA686A.pcm.front.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -17,7 +17,7 @@ VIA686A.pcm.front.0 {
} }
# default with dmix/dsnoop # default with dmix/dsnoop
VIA686A.pcm.default { VIA686A.pcm.!default {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -41,7 +41,7 @@ VIA686A.pcm.default {
<confdir:pcm/iec958.conf> <confdir:pcm/iec958.conf>
VIA686A.pcm.iec958.0 { VIA686A.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ] @args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD { @args.CARD {
type string type string

View file

@ -4,7 +4,7 @@
<confdir:pcm/front.conf> <confdir:pcm/front.conf>
VIA8233.pcm.front.0 { VIA8233.pcm.front.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -15,7 +15,7 @@ VIA8233.pcm.front.0 {
# default with softvol/dsnoop # default with softvol/dsnoop
# VIA8233 supports multi-playback # VIA8233 supports multi-playback
VIA8233.pcm.default { VIA8233.pcm.!default {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -46,7 +46,7 @@ VIA8233.pcm.default {
<confdir:pcm/surround40.conf> <confdir:pcm/surround40.conf>
VIA8233.pcm.surround40.0 { VIA8233.pcm.surround40.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -91,7 +91,7 @@ VIA8233.pcm.surround40.0 {
<confdir:pcm/surround50.conf> <confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf> <confdir:pcm/surround51.conf>
VIA8233.pcm.surround51.0 { VIA8233.pcm.surround51.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -146,7 +146,7 @@ VIA8233.pcm.surround51.0 {
<confdir:pcm/iec958.conf> <confdir:pcm/iec958.conf>
VIA8233.pcm.iec958.0 { VIA8233.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ] @args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD { @args.CARD {
type string type string

View file

@ -4,7 +4,7 @@
<confdir:pcm/front.conf> <confdir:pcm/front.conf>
VIA8233A.pcm.front.0 { VIA8233A.pcm.front.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -14,7 +14,7 @@ VIA8233A.pcm.front.0 {
} }
# default with dmix/dsnoop # default with dmix/dsnoop
VIA8233A.pcm.default { VIA8233A.pcm.!default {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -38,7 +38,7 @@ VIA8233A.pcm.default {
<confdir:pcm/surround40.conf> <confdir:pcm/surround40.conf>
VIA8233A.pcm.surround40.0 { VIA8233A.pcm.surround40.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -89,7 +89,7 @@ VIA8233A.pcm.surround40.0 {
<confdir:pcm/surround50.conf> <confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf> <confdir:pcm/surround51.conf>
VIA8233A.pcm.surround51.0 { VIA8233A.pcm.surround51.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -150,7 +150,7 @@ VIA8233A.pcm.surround51.0 {
<confdir:pcm/iec958.conf> <confdir:pcm/iec958.conf>
VIA8233A.pcm.iec958.0 { VIA8233A.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ] @args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD { @args.CARD {
type string type string

View file

@ -4,7 +4,7 @@
<confdir:pcm/front.conf> <confdir:pcm/front.conf>
VIA8237.pcm.front.0 { VIA8237.pcm.front.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -15,7 +15,7 @@ VIA8237.pcm.front.0 {
# default with softvol/dsnoop # default with softvol/dsnoop
# VIA8237 supports multi-playback # VIA8237 supports multi-playback
VIA8237.pcm.default { VIA8237.pcm.!default {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -46,7 +46,7 @@ VIA8237.pcm.default {
<confdir:pcm/surround40.conf> <confdir:pcm/surround40.conf>
VIA8237.pcm.surround40.0 { VIA8237.pcm.surround40.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -84,7 +84,7 @@ VIA8237.pcm.surround40.0 {
<confdir:pcm/surround50.conf> <confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf> <confdir:pcm/surround51.conf>
VIA8237.pcm.surround51.0 { VIA8237.pcm.surround51.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -136,7 +136,7 @@ VIA8237.pcm.surround51.0 {
<confdir:pcm/iec958.conf> <confdir:pcm/iec958.conf>
VIA8237.pcm.iec958.0 { VIA8237.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ] @args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD { @args.CARD {
type string type string