conf: EMU10K1X: define pcm configuration block only one time

There may be multiple EMU10K1X 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:17:45 +01:00 committed by Jaroslav Kysela
parent ed4884cbe1
commit dba724706a

View file

@ -3,7 +3,7 @@
#
# default with dmix & dsnoop
EMU10K1X.pcm.default {
EMU10K1X.pcm.!default {
@args [ CARD ]
@args.CARD {
type string
@ -27,7 +27,7 @@ EMU10K1X.pcm.default {
<confdir:pcm/front.conf>
EMU10K1X.pcm.front.0 {
EMU10K1X.pcm.front.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -38,7 +38,7 @@ EMU10K1X.pcm.front.0 {
<confdir:pcm/rear.conf>
EMU10K1X.pcm.rear.0 {
EMU10K1X.pcm.rear.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -50,7 +50,7 @@ EMU10K1X.pcm.rear.0 {
<confdir:pcm/center_lfe.conf>
EMU10K1X.pcm.center_lfe.0 {
EMU10K1X.pcm.center_lfe.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -62,7 +62,7 @@ EMU10K1X.pcm.center_lfe.0 {
<confdir:pcm/surround40.conf>
EMU10K1X.pcm.surround40.0 {
EMU10K1X.pcm.surround40.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -101,7 +101,7 @@ EMU10K1X.pcm.surround40.0 {
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
EMU10K1X.pcm.surround51.0 {
EMU10K1X.pcm.surround51.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -148,7 +148,7 @@ EMU10K1X.pcm.surround51.0 {
<confdir:pcm/iec958.conf>
EMU10K1X.pcm.iec958.0 {
EMU10K1X.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD {
type string