diff options
Diffstat (limited to 'wireplumber/main.lua.d')
-rw-r--r-- | wireplumber/main.lua.d/51-custom.lua | 22 |
1 files changed, 22 insertions, 0 deletions
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", + }, + } +) + |