From: Gabriel de Perthuis Date: Wed, 22 Jun 2022 15:55:12 +0000 (+0200) Subject: Allow direct cards that only work in one direction X-Git-Tag: v1.2.7.2~9 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=931a59a8be205f05f5a41fa505b66d1909f346f5;p=alsa-ucm-conf.git Allow direct cards that only work in one direction Allow DirectCaptureChannels or DirectPlaybackChannels to be left undefined. Signed-off-by: Jaroslav Kysela --- 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