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

@ -385,8 +385,6 @@ int main(int argc, char *argv[])
pw_core_add_spa_lib(impl.core, "api.bluez5.*", "bluez5/libspa-bluez5");
pw_module_load(impl.core, "libpipewire-module-client-device", NULL, NULL);
clock_gettime(CLOCK_MONOTONIC, &impl.now);
spa_list_init(&impl.device_list);