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