alsa-lib/alsa-ucm-conf.patch
Jaroslav Kysela 313e6bd344 fix SplitPCM (alsa-ucm)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-09-04 17:17:33 +02:00

29 lines
837 B
Diff

From b68aa52acdd2763fedad5eec0f435fbf43e5ccc6 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz>
Date: Mon, 4 Sep 2023 16:39:52 +0200
Subject: [PATCH] SplitPCM: Device argument may not be set
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ucm2/common/pcm/split.conf b/ucm2/common/pcm/split.conf
index 80f23e6..9ed2f95 100644
--- a/ucm2/common/pcm/split.conf
+++ b/ucm2/common/pcm/split.conf
@@ -326,7 +326,7 @@ DefineMacro.SplitPCMDevice {
If.0 {
Condition {
Type String
- Empty "${var:__Device}"
+ Empty "${var:-__Device}"
}
True.Define.__Device "0"
}
--
2.41.0