pw_impl_client_new -> pw_context_create_client

This commit is contained in:
Wim Taymans 2019-12-11 17:52:15 +01:00
parent 310077438b
commit e96bdc6bd9
3 changed files with 3 additions and 3 deletions

View file

@ -357,7 +357,7 @@ static struct client_data *client_new(struct server *s, int fd)
pw_properties_setf(props, PW_KEY_MODULE_ID, "%d", d->module->global->id); pw_properties_setf(props, PW_KEY_MODULE_ID, "%d", d->module->global->id);
client = pw_impl_client_new(protocol->context, client = pw_context_create_client(protocol->context,
protocol, props, sizeof(struct client_data)); protocol, props, sizeof(struct client_data));
if (client == NULL) if (client == NULL)
goto exit; goto exit;

View file

@ -280,7 +280,7 @@ static const struct pw_context_events context_events = {
* \memberof pw_impl_client * \memberof pw_impl_client
*/ */
SPA_EXPORT SPA_EXPORT
struct pw_impl_client *pw_impl_client_new(struct pw_context *context, struct pw_impl_client *pw_context_create_client(struct pw_context *context,
struct pw_protocol *protocol, struct pw_protocol *protocol,
struct pw_properties *properties, struct pw_properties *properties,
size_t user_data_size) size_t user_data_size)

View file

@ -110,7 +110,7 @@ struct pw_impl_client_events {
/** Create a new client. This is mainly used by protocols. */ /** Create a new client. This is mainly used by protocols. */
struct pw_impl_client * struct pw_impl_client *
pw_impl_client_new(struct pw_context *context, /**< the context object */ pw_context_create_client(struct pw_context *context, /**< the context object */
struct pw_protocol *prototol, /**< the client protocol */ struct pw_protocol *prototol, /**< the client protocol */
struct pw_properties *properties, /**< client properties */ struct pw_properties *properties, /**< client properties */
size_t user_data_size /**< extra user data size */); size_t user_data_size /**< extra user data size */);