conf: Echo3G: define pcm configuration block only one time

There may be multiple Echo3G 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 1e29ff1840
commit 0ba7c27165

View file

@ -3,7 +3,7 @@
# #
<confdir:pcm/front.conf> <confdir:pcm/front.conf>
Echo_Echo3G.pcm.front.0 { Echo_Echo3G.pcm.front.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -15,7 +15,7 @@ Echo_Echo3G.pcm.front.0 {
} }
<confdir:pcm/rear.conf> <confdir:pcm/rear.conf>
Echo_Echo3G.pcm.rear.0 { Echo_Echo3G.pcm.rear.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -27,7 +27,7 @@ Echo_Echo3G.pcm.rear.0 {
} }
<confdir:pcm/center_lfe.conf> <confdir:pcm/center_lfe.conf>
Echo_Echo3G.pcm.center_lfe.0 { Echo_Echo3G.pcm.center_lfe.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -39,7 +39,7 @@ Echo_Echo3G.pcm.center_lfe.0 {
} }
<confdir:pcm/side.conf> <confdir:pcm/side.conf>
Echo_Echo3G.pcm.side.0 { Echo_Echo3G.pcm.side.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -51,7 +51,7 @@ Echo_Echo3G.pcm.side.0 {
} }
<confdir:pcm/surround40.conf> <confdir:pcm/surround40.conf>
Echo_Echo3G.pcm.surround40.0 { Echo_Echo3G.pcm.surround40.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -86,7 +86,7 @@ Echo_Echo3G.pcm.surround40.0 {
} }
<confdir:pcm/surround41.conf> <confdir:pcm/surround41.conf>
Echo_Echo3G.pcm.surround41.0 { Echo_Echo3G.pcm.surround41.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -131,7 +131,7 @@ Echo_Echo3G.pcm.surround41.0 {
} }
<confdir:pcm/surround50.conf> <confdir:pcm/surround50.conf>
Echo_Echo3G.pcm.surround50.0 { Echo_Echo3G.pcm.surround50.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -176,7 +176,7 @@ Echo_Echo3G.pcm.surround50.0 {
} }
<confdir:pcm/surround51.conf> <confdir:pcm/surround51.conf>
Echo_Echo3G.pcm.surround51.0 { Echo_Echo3G.pcm.surround51.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -222,7 +222,7 @@ Echo_Echo3G.pcm.surround51.0 {
} }
<confdir:pcm/surround71.conf> <confdir:pcm/surround71.conf>
Echo_Echo3G.pcm.surround71.0 { Echo_Echo3G.pcm.surround71.!0 {
@args [ CARD ] @args [ CARD ]
@args.CARD { @args.CARD {
type string type string
@ -279,7 +279,7 @@ Echo_Echo3G.pcm.surround71.0 {
} }
<confdir:pcm/iec958.conf> <confdir:pcm/iec958.conf>
Echo_Echo3G.pcm.iec958.0 { Echo_Echo3G.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ] @args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD { @args.CARD {
type string type string