mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Cleanups
Make separate _register function so that we can first configure the object before making it publicly visible.
This commit is contained in:
parent
67d4dd8656
commit
f64c28c091
25 changed files with 131 additions and 99 deletions
|
|
@ -161,8 +161,9 @@ static bool on_global(void *data, struct pw_global *global)
|
|||
if (op == NULL)
|
||||
return true;
|
||||
|
||||
link = pw_link_new(impl->core, pw_module_get_global(impl->module), op, ip, NULL, NULL, &error, 0);
|
||||
link = pw_link_new(impl->core, op, ip, NULL, NULL, &error, 0);
|
||||
pw_link_inc_idle(link);
|
||||
pw_link_register(link, NULL, pw_module_get_global(impl->module));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue