conf: CS46xx: define pcm configuration block only one time

There may be multiple CS46xx 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 12:12:47 +01:00 committed by Jaroslav Kysela
parent 041299ea39
commit 1e29ff1840

View file

@ -4,7 +4,7 @@
<confdir:pcm/front.conf>
CS46xx.pcm.front.0 {
CS46xx.pcm.front.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -15,7 +15,7 @@ CS46xx.pcm.front.0 {
# default with plughw
# CS46xx supports multi-playback
CS46xx.pcm.default {
CS46xx.pcm.!default {
@args [ CARD ]
@args.CARD {
type string
@ -39,7 +39,7 @@ CS46xx.pcm.default {
<confdir:pcm/rear.conf>
CS46xx.pcm.rear.0 {
CS46xx.pcm.rear.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -66,7 +66,7 @@ CS46xx.pcm.rear.0 {
<confdir:pcm/center_lfe.conf>
CS46xx.pcm.center_lfe.0 {
CS46xx.pcm.center_lfe.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -78,7 +78,7 @@ CS46xx.pcm.center_lfe.0 {
<confdir:pcm/surround40.conf>
CS46xx.pcm.surround40.0 {
CS46xx.pcm.surround40.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -117,7 +117,7 @@ CS46xx.pcm.surround40.0 {
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
CS46xx.pcm.surround51.0 {
CS46xx.pcm.surround51.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -164,7 +164,7 @@ CS46xx.pcm.surround51.0 {
<confdir:pcm/iec958.conf>
CS46xx.pcm.iec958.0 {
CS46xx.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD {
type string