mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Improve loop callbacks
Pass just one data item to the callbacks. Add properties to port. Add user data to link Handle autolink with multiple ports More work on jack support
This commit is contained in:
parent
cfd9967637
commit
9ad1f911b2
38 changed files with 1773 additions and 271 deletions
|
|
@ -134,7 +134,7 @@ static bool on_global(void *data, struct pw_global *global)
|
|||
{
|
||||
struct impl *impl = data;
|
||||
struct pw_node *n, *node;
|
||||
struct pw_properties *properties;
|
||||
const struct pw_properties *properties;
|
||||
const char *str;
|
||||
char *error;
|
||||
struct pw_port *ip, *op;
|
||||
|
|
@ -160,7 +160,7 @@ 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);
|
||||
link = pw_link_new(impl->core, pw_module_get_global(impl->module), op, ip, NULL, NULL, &error, 0);
|
||||
pw_link_inc_idle(link);
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue