summaryrefslogtreecommitdiff
path: root/wireplumber/main.lua.d/51-custom.lua
blob: 2340e948282fdd4440ea07a3145af6122b9ad237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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",
    },
  }
)