From 12868424437603855669933d388f68fcedc185c7 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 22 Jan 2023 22:06:02 -0600 Subject: mass deletions --- wireplumber/main.lua.d/51-custom.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 wireplumber/main.lua.d/51-custom.lua (limited to 'wireplumber/main.lua.d') diff --git a/wireplumber/main.lua.d/51-custom.lua b/wireplumber/main.lua.d/51-custom.lua new file mode 100644 index 0000000..2340e94 --- /dev/null +++ b/wireplumber/main.lua.d/51-custom.lua @@ -0,0 +1,22 @@ +table.insert(alsa_monitor.rules, + { + -- Rules for matching a device or node. It is an array of + -- properties that all need to match the regexp. If any of the + -- matches work, the actions are executed for the object. + matches = { + { + { "device.name", "matches", "alsa_card.usb-Audient_Audient_iD4-00" }, + }, + }, + -- Apply properties on the matched object. + apply_properties = { + -- Use UCM instead of profile when available. Can be + -- disabled to skip trying to use the UCM profile. + ["api.alsa.use-ucm"] = false, + + -- The default active profile. Is by default set to "Off". + ["device.profile"] = "Pro Audio", + }, + } +) + -- cgit v1.2.3