conf: Loopback: define pcm configuration block only one time

There may be multiple Loopback 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:57 +01:00 committed by Jaroslav Kysela
parent 99f1987a1e
commit ff4fb7f8c9

View file

@ -4,7 +4,7 @@
<confdir:pcm/front.conf>
Loopback.pcm.front.0 {
Loopback.pcm.front.!0 {
@args [ CARD ]
@args.CARD {
type string
@ -21,7 +21,7 @@ Loopback.pcm.front.0 {
}
# default with dmix+softvol & dsnoop
Loopback.pcm.default {
Loopback.pcm.!default {
@args [ CARD ]
@args.CARD {
type string