pw_factory -> pw_impl_factory

This commit is contained in:
Wim Taymans 2019-12-11 11:45:27 +01:00
parent 73900eea1b
commit 815d4a8d20
17 changed files with 170 additions and 169 deletions

View file

@ -48,7 +48,7 @@ struct data {
static int make_device(struct data *data)
{
struct pw_factory *factory;
struct pw_impl_factory *factory;
struct pw_properties *props;
factory = pw_context_find_factory(data->context, "spa-device-factory");
@ -58,7 +58,7 @@ static int make_device(struct data *data)
props = pw_properties_new(SPA_KEY_LIBRARY_NAME, data->library,
SPA_KEY_FACTORY_NAME, data->factory, NULL);
data->device = pw_factory_create_object(factory,
data->device = pw_impl_factory_create_object(factory,
NULL,
PW_TYPE_INTERFACE_Device,
PW_VERSION_DEVICE_PROXY,

View file

@ -107,7 +107,7 @@ static struct bluez5_node *bluez5_create_node(struct bluez5_object *obj, uint32_
struct bluez5_node *node;
struct impl *impl = obj->impl;
struct pw_context *context = impl->session->context;
struct pw_factory *factory;
struct pw_impl_factory *factory;
int res;
const char *str;
@ -149,7 +149,7 @@ static struct bluez5_node *bluez5_create_node(struct bluez5_object *obj, uint32_
res = -EIO;
goto clean_node;
}
node->adapter = pw_factory_create_object(factory,
node->adapter = pw_impl_factory_create_object(factory,
NULL,
PW_TYPE_INTERFACE_Node,
PW_VERSION_NODE_PROXY,