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

@ -4,7 +4,7 @@
<confdir:pcm/front.conf>
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 {
<confdir:pcm/surround40.conf>
VIA8233A.pcm.surround40.0 {
VIA8233A.pcm.surround40.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -89,7 +89,7 @@ VIA8233A.pcm.surround40.0 {
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
VIA8233A.pcm.surround51.0 {
VIA8233A.pcm.surround51.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -150,7 +150,7 @@ VIA8233A.pcm.surround51.0 {
<confdir:pcm/iec958.conf>
VIA8233A.pcm.iec958.0 {
VIA8233A.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD {
type string