mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
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:
parent
6b1e1a82f1
commit
1ba5a17236
7 changed files with 25 additions and 19 deletions
|
|
@ -1669,11 +1669,6 @@ int main(int argc, char *argv[])
|
|||
impl.policy_remote = pw_remote_new(impl.this.core, NULL, 0);
|
||||
pw_remote_add_listener(impl.policy_remote, &impl.policy_listener, &policy_remote_events, &impl);
|
||||
|
||||
pw_module_load(impl.this.core, "libpipewire-module-client-device", NULL, NULL);
|
||||
pw_module_load(impl.this.core, "libpipewire-module-adapter", NULL, NULL);
|
||||
pw_module_load(impl.this.core, "libpipewire-module-metadata", NULL, NULL);
|
||||
pw_module_load(impl.this.core, "libpipewire-module-session-manager", NULL, NULL);
|
||||
|
||||
pw_map_init(&impl.globals, 64, 64);
|
||||
spa_list_init(&impl.global_list);
|
||||
pw_map_init(&impl.endpoint_links, 64, 64);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue