mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
pw_impl_link_new -> pw_context_create_link
This commit is contained in:
parent
e96bdc6bd9
commit
c3f6524120
3 changed files with 3 additions and 3 deletions
|
|
@ -258,7 +258,7 @@ static void *create_object(void *_data,
|
|||
pw_properties_setf(properties, PW_KEY_CLIENT_ID, "%d", client->global->id);
|
||||
|
||||
|
||||
link = pw_impl_link_new(context, outport, inport, NULL, properties, sizeof(struct link_data));
|
||||
link = pw_context_create_link(context, outport, inport, NULL, properties, sizeof(struct link_data));
|
||||
properties = NULL;
|
||||
if (link == NULL) {
|
||||
res = -errno;
|
||||
|
|
|
|||
|
|
@ -1032,7 +1032,7 @@ static const struct pw_global_events input_global_events = {
|
|||
};
|
||||
|
||||
SPA_EXPORT
|
||||
struct pw_impl_link *pw_impl_link_new(struct pw_context *context,
|
||||
struct pw_impl_link *pw_context_create_link(struct pw_context *context,
|
||||
struct pw_impl_port *output,
|
||||
struct pw_impl_port *input,
|
||||
struct spa_pod *format_filter,
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ struct pw_impl_link_events {
|
|||
/** Make a new link between two ports \memberof pw_impl_link
|
||||
* \return a newly allocated link */
|
||||
struct pw_impl_link *
|
||||
pw_impl_link_new(struct pw_context *context, /**< the context object */
|
||||
pw_context_create_link(struct pw_context *context, /**< the context object */
|
||||
struct pw_impl_port *output, /**< an output port */
|
||||
struct pw_impl_port *input, /**< an input port */
|
||||
struct spa_pod *format_filter, /**< an optional format filter */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue