]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: add lib / ctl-remap.conf generic device
authorJaroslav Kysela <perex@perex.cz>
Fri, 14 May 2021 09:20:34 +0000 (11:20 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 18 May 2021 10:27:34 +0000 (12:27 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/lib/ctl-remap.conf [new file with mode: 0644]

diff --git a/ucm2/lib/ctl-remap.conf b/ucm2/lib/ctl-remap.conf
new file mode 100644 (file)
index 0000000..06e775c
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# This is generic UCM configuration for alsa-lib
+# Users are not allowed to overwrite this configuration
+#
+
+LibraryConfig.generic.Config {
+
+       ctl.default {
+               @args [ CARD ]
+               @args.CARD.type string
+               type remap
+               child {
+                       type hw
+                       card $CARD
+               }
+       }
+
+}
+
+FixedBootSequence [
+       cfg-save "${var:LibDir}/ctl-remap.conf:+ctl.default"
+]