mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
module: load and register in one go
Load and register the module in one go because we need to have the global set when calling the init function so that factories and nodes can use this as the parent global. Set the name in the global properties.
This commit is contained in:
parent
1ed63e7ba0
commit
5df5afd0a9
7 changed files with 50 additions and 45 deletions
|
|
@ -138,7 +138,7 @@ int main(int argc, char *argv[])
|
|||
if (argc > 3)
|
||||
data.path = argv[3];
|
||||
|
||||
pw_module_load(data.core, "libpipewire-module-spa-node-factory", NULL);
|
||||
pw_module_load(data.core, "libpipewire-module-spa-node-factory", NULL, NULL, NULL, NULL);
|
||||
|
||||
spa_debug_set_type_map(data.t->map);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue