summaryrefslogtreecommitdiffstats
path: root/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-config-agl/99-load-modules.lua
blob: 70251aebe6a1eeb1f02fa3ead6678361d6bae3c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- Enable local & bluetooth audio devices
alsa_monitor.enable()
bluez_monitor.enable()

-- Load policy
default_policy.enable()

-- Implements storing metadata about objects in RAM
load_module("metadata")

-- Keeps track of the "default" sources and sinks
load_module("default-nodes", {
  -- do not store runtime user changes in $HOME
  ["use-persistent-storage"] = false,
})

-- Selects default routes on devices that advertise routes
load_script("default-routes.lua", {
  -- do not store runtime user changes in $HOME
  ["use-persistent-storage"] = false,
})

-- Automatically suspends idle nodes after 3 seconds
load_script("suspend-node.lua")

-- Automatically sets device profiles to 'On'
load_module("device-activation")