pulse-server: add a pulse.cmd section

Add a new config section that can contain a set of commands to run after
starting.

There is only load-module available now but it can be used to remove the
dependency on pactl when starting the server.
This commit is contained in:
Wim Taymans 2022-12-12 16:46:16 +01:00
parent 87d2719148
commit b29200ee82
5 changed files with 185 additions and 3 deletions

View file

@ -226,6 +226,7 @@ pipewire_module_protocol_pulse_sources = [
'module-protocol-pulse.c',
'module-protocol-pulse/client.c',
'module-protocol-pulse/collect.c',
'module-protocol-pulse/cmd.c',
'module-protocol-pulse/extension.c',
'module-protocol-pulse/extensions/ext-device-manager.c',
'module-protocol-pulse/extensions/ext-device-restore.c',