mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-01-03 11:09:08 -05:00
Remove port
Remove the port object. We don't use it as a dbus object and we don't need it, we can use the link and node object directy. Move poll code and event handler to the node.
This commit is contained in:
parent
463954a299
commit
7d3e46e7f9
22 changed files with 689 additions and 1848 deletions
|
|
@ -442,8 +442,10 @@ link_fill_info (PinosLinkInfo *info, GDBusProxy *proxy)
|
|||
info->link_path = g_dbus_proxy_get_object_path (proxy);
|
||||
|
||||
info->change_mask = 0;
|
||||
SET_STRING ("SrcPort", source_port_path, 0);
|
||||
SET_STRING ("DestPort", destination_port_path, 1);
|
||||
SET_STRING ("OutputNode", output_node_path, 0);
|
||||
SET_UINT32 ("OutputPort", output_port, 1, -1);
|
||||
SET_STRING ("InputNode", input_node_path, 2);
|
||||
SET_UINT32 ("InputPort", input_port, 3, -1);
|
||||
|
||||
if (changed)
|
||||
g_hash_table_remove_all (changed);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue