From 931a59a8be205f05f5a41fa505b66d1909f346f5 Mon Sep 17 00:00:00 2001 From: Gabriel de Perthuis Date: Wed, 22 Jun 2022 17:55:12 +0200 Subject: [PATCH] Allow direct cards that only work in one direction Allow DirectCaptureChannels or DirectPlaybackChannels to be left undefined. Signed-off-by: Jaroslav Kysela --- ucm2/common/direct-verb.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ucm2/common/direct-verb.conf b/ucm2/common/direct-verb.conf index 55204a2..d069fc2 100644 --- a/ucm2/common/direct-verb.conf +++ b/ucm2/common/direct-verb.conf @@ -4,7 +4,7 @@ SectionDevice."Direct" { If.p { Condition { Type String - Empty "${var:DirectPlaybackChannels}" + Empty "${var:-DirectPlaybackChannels}" } False { PlaybackPriority 1000 @@ -15,7 +15,7 @@ SectionDevice."Direct" { If.c { Condition { Type String - Empty "${var:DirectCaptureChannels}" + Empty "${var:-DirectCaptureChannels}" } False { CapturePriority 1000 -- 2.47.1