wireplumber/src/config-split/main.lua.d/90-enable-all.lua
George Kiagiadakis c7ff629f99 config: add an example of split-instance configuration
This configuration allows splitting wireplumber into multiple instances.
The "main" instance takes care of loading and managing devices
The "policy" instance does all the linking and implements endpoints
The "bluetooth" instance runs the bluetooth devices & nodes

Test with (in separate terminals):
./wp-uninstalled.sh -c config-split -- wireplumber -c main.conf
./wp-uninstalled.sh -c config-split -- wireplumber -c policy.conf
./wp-uninstalled.sh -c config-split -- wireplumber -c bluetooth.conf
2021-04-26 10:02:27 +03:00

16 lines
427 B
Lua

-- Provide the "default" pw_metadata, which stores
-- dynamic properties of pipewire objects in RAM
load_module("metadata")
-- Load devices
alsa_monitor.enable()
v4l2_monitor.enable()
-- Track/store/restore user choices about devices
device_defaults.enable()
-- Automatically suspends idle nodes after 3 seconds
load_script("suspend-node.lua")
-- Automatically sets device profiles to 'On'
load_module("device-activation")