Signed-off-by: Jaroslav Kysela <perex@perex.cz>
--- /dev/null
+#
+# Manage directory for the card specific configuration
+#
+
+Define.LibDir "/var/lib/alsa/card${CardNumber}.conf.d"
+
+FixedBootSequence [
+ exec "/bin/rm -rf ${var:LibDir}/"
+ exec "/bin/mkdir -p -m 0755 ${var:LibDir}"
+]
--- /dev/null
+#
+# This is generic UCM configuration for alsa-lib
+# Only hw devices are exposed to the UCM application
+# Users are not allowed to overwrite this configuration
+#
+
+LibraryConfig.generic.SubstiConfig {
+
+ ctl.hw {
+ @args [ CARD ]
+ @args.CARD.type string
+ type hw
+ card $CARD
+ }
+
+ pcm.hw {
+ @args [ CARD DEV SUBDEV ]
+ @args {
+ CARD.type string
+ DEV.type integer
+ SUBDEV.type integer
+ }
+ type hw
+ card $CARD
+ device $DEV
+ subdevice $SUBDEV
+ }
+
+}