]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
common: remove direct.conf and direct-verb.conf files
authorJaroslav Kysela <perex@perex.cz>
Tue, 6 Jan 2026 14:24:14 +0000 (15:24 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 6 Jan 2026 19:36:06 +0000 (20:36 +0100)
The DirectUseCase macro (directm.conf) is the replacement.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/common/direct-verb.conf [deleted file]
ucm2/common/direct.conf [deleted file]

diff --git a/ucm2/common/direct-verb.conf b/ucm2/common/direct-verb.conf
deleted file mode 100644 (file)
index d069fc2..0000000
+++ /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 (file)
index 3bb0dac..0000000
+++ /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"
-}