conf: CA0106: define pcm configuration block only one time

There may be multiple CA0106 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 ea984c3a7d
commit 68b8b43541

View file

@ -3,7 +3,7 @@
# #
# default with dmix & dsnoop # default with dmix & dsnoop
CA0106.pcm.default { CA0106.pcm.!default {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -27,7 +27,7 @@ CA0106.pcm.default {
<confdir:pcm/front.conf> <confdir:pcm/front.conf>
CA0106.pcm.front.0 { CA0106.pcm.front.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -38,7 +38,7 @@ CA0106.pcm.front.0 {
<confdir:pcm/rear.conf> <confdir:pcm/rear.conf>
CA0106.pcm.rear.0 { CA0106.pcm.rear.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -50,7 +50,7 @@ CA0106.pcm.rear.0 {
<confdir:pcm/center_lfe.conf> <confdir:pcm/center_lfe.conf>
CA0106.pcm.center_lfe.0 { CA0106.pcm.center_lfe.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -62,7 +62,7 @@ CA0106.pcm.center_lfe.0 {
<confdir:pcm/side.conf> <confdir:pcm/side.conf>
CA0106.pcm.side.0 { CA0106.pcm.side.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -74,7 +74,7 @@ CA0106.pcm.side.0 {
<confdir:pcm/surround40.conf> <confdir:pcm/surround40.conf>
CA0106.pcm.surround40.0 { CA0106.pcm.surround40.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -114,7 +114,7 @@ CA0106.pcm.surround40.0 {
<confdir:pcm/surround51.conf> <confdir:pcm/surround51.conf>
<confdir:pcm/surround71.conf> <confdir:pcm/surround71.conf>
CA0106.pcm.surround51.0 { CA0106.pcm.surround51.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -159,7 +159,7 @@ CA0106.pcm.surround51.0 {
] ]
} }
CA0106.pcm.surround71.0 { CA0106.pcm.surround71.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -220,7 +220,7 @@ CA0106.pcm.surround71.0 {
<confdir:pcm/iec958.conf> <confdir:pcm/iec958.conf>
CA0106.pcm.iec958.0 { CA0106.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ] @args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD { @args.CARD {
type string type string