core: add PW_KEY_CORE_PROFILE_MODULES

Let the core load a set of default modules.
Add a key to control what default set to load, falling back to a
reasonable set. Make the daemon not load any set and rely on the
config script to load modules.
This commit is contained in:
Wim Taymans 2019-12-05 16:17:42 +01:00
parent 6b1e1a82f1
commit 1ba5a17236
7 changed files with 25 additions and 19 deletions

View file

@ -128,7 +128,6 @@ int main(int argc, char *argv[])
data.factory = argv[2];
pw_module_load(data.core, "libpipewire-module-spa-device-factory", NULL, NULL);
pw_module_load(data.core, "libpipewire-module-client-device", NULL, NULL);
pw_remote_add_listener(data.remote, &data.remote_listener, &remote_events, &data);