From d7ee3cb0702dd7c5ad7cd2907c3f8d44690c13b4 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 6 Jan 2026 15:24:14 +0100 Subject: [PATCH] common: remove direct.conf and direct-verb.conf files The DirectUseCase macro (directm.conf) is the replacement. Signed-off-by: Jaroslav Kysela --- ucm2/common/direct-verb.conf | 27 --------------------------- ucm2/common/direct.conf | 12 ------------ 2 files changed, 39 deletions(-) delete mode 100644 ucm2/common/direct-verb.conf delete mode 100644 ucm2/common/direct.conf diff --git a/ucm2/common/direct-verb.conf b/ucm2/common/direct-verb.conf deleted file mode 100644 index d069fc2..0000000 --- a/ucm2/common/direct-verb.conf +++ /dev/null @@ -1,27 +0,0 @@ -SectionDevice."Direct" { - Comment "Direct ${CardName}" - Value { - If.p { - Condition { - Type String - Empty "${var:-DirectPlaybackChannels}" - } - False { - PlaybackPriority 1000 - PlaybackChannels "${var:DirectPlaybackChannels}" - PlaybackPCM "hw:${CardId}" - } - } - If.c { - Condition { - Type String - Empty "${var:-DirectCaptureChannels}" - } - False { - CapturePriority 1000 - CaptureChannels "${var:DirectCaptureChannels}" - CapturePCM "hw:${CardId}" - } - } - } -} diff --git a/ucm2/common/direct.conf b/ucm2/common/direct.conf deleted file mode 100644 index 3bb0dac..0000000 --- a/ucm2/common/direct.conf +++ /dev/null @@ -1,12 +0,0 @@ -If.direct { - Condition { - Type String - Empty "${var:-DirectCardName}" - } - True.Define.DirectCardName "${CardName}" -} - -SectionUseCase."Direct" { - Comment "Direct ${var:DirectCardName}" - File "/common/direct-verb.conf" -} -- 2.47.3