conf: SI7018: define pcm configuration block only one time

There may be multiple SI7018 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:15 +01:00 committed by Jaroslav Kysela
parent 1cd87775c5
commit 51d75e5f07

View file

@ -6,7 +6,7 @@
<confdir:pcm/front.conf>
SI7018.pcm.front.0 {
SI7018.pcm.front.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -18,7 +18,7 @@ SI7018.pcm.front.0 {
<confdir:pcm/rear.conf>
SI7018.pcm.rear.0 {
SI7018.pcm.rear.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -44,7 +44,7 @@ SI7018.pcm.rear.0 {
<confdir:pcm/surround40.conf>
SI7018.pcm.surround40.0 {
SI7018.pcm.surround40.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -83,7 +83,7 @@ SI7018.pcm.surround40.0 {
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
SI7018.pcm.surround51.0 {
SI7018.pcm.surround51.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -130,7 +130,7 @@ SI7018.pcm.surround51.0 {
<confdir:pcm/iec958.conf>
SI7018.pcm.iec958.0 {
SI7018.pcm.iec958.!0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD {
type string