mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pw_impl_port_new -> pw_context_create_port
This commit is contained in:
parent
930b595724
commit
2a142edadb
4 changed files with 14 additions and 11 deletions
|
|
@ -156,7 +156,7 @@ static struct pw_impl_port *get_port(struct pw_impl_node *node, enum spa_directi
|
|||
if (port_id == SPA_ID_INVALID)
|
||||
return NULL;
|
||||
|
||||
p = pw_impl_port_new(direction, port_id, NULL, 0);
|
||||
p = pw_context_create_port(node->context, direction, port_id, NULL, 0);
|
||||
if (p == NULL)
|
||||
return NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue