]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
SplitPCM: Device argument may not be set
authorJaroslav Kysela <perex@perex.cz>
Mon, 4 Sep 2023 14:39:52 +0000 (16:39 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 4 Sep 2023 14:41:25 +0000 (16:41 +0200)
Link: https://github.com/alsa-project/alsa-ucm-conf/issues/346
Fixes: 10967ea ("SplitPCM: Fix Device variable in SplitPCMDevice macro")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/common/pcm/split.conf

index 80f23e6c66589a7e62eb1535eebe5d8c2eab649d..9ed2f95612deffddd66b2504b283f5ac6b48f92f 100644 (file)
@@ -326,7 +326,7 @@ DefineMacro.SplitPCMDevice {
        If.0 {
                Condition {
                        Type String
-                       Empty "${var:__Device}"
+                       Empty "${var:-__Device}"
                }
                True.Define.__Device "0"
        }