pw_impl_link_new -> pw_context_create_link

This commit is contained in:
Wim Taymans 2019-12-11 17:54:27 +01:00
parent e96bdc6bd9
commit c3f6524120
3 changed files with 3 additions and 3 deletions

View file

@ -258,7 +258,7 @@ static void *create_object(void *_data,
pw_properties_setf(properties, PW_KEY_CLIENT_ID, "%d", client->global->id); 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; properties = NULL;
if (link == NULL) { if (link == NULL) {
res = -errno; res = -errno;

View file

@ -1032,7 +1032,7 @@ static const struct pw_global_events input_global_events = {
}; };
SPA_EXPORT 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 *output,
struct pw_impl_port *input, struct pw_impl_port *input,
struct spa_pod *format_filter, struct spa_pod *format_filter,

View file

@ -79,7 +79,7 @@ struct pw_impl_link_events {
/** Make a new link between two ports \memberof pw_impl_link /** Make a new link between two ports \memberof pw_impl_link
* \return a newly allocated link */ * \return a newly allocated link */
struct pw_impl_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 *output, /**< an output port */
struct pw_impl_port *input, /**< an input port */ struct pw_impl_port *input, /**< an input port */
struct spa_pod *format_filter, /**< an optional format filter */ struct spa_pod *format_filter, /**< an optional format filter */