mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pw_impl_factory_new -> pw_context_create_factory
This commit is contained in:
parent
bc0dcd2e34
commit
310077438b
11 changed files with 11 additions and 11 deletions
|
|
@ -287,7 +287,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
struct pw_impl_factory *factory;
|
||||
struct factory_data *data;
|
||||
|
||||
factory = pw_impl_factory_new(context,
|
||||
factory = pw_context_create_factory(context,
|
||||
"adapter",
|
||||
PW_TYPE_INTERFACE_Node,
|
||||
PW_VERSION_NODE,
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
struct pw_impl_factory *factory;
|
||||
struct factory_data *data;
|
||||
|
||||
factory = pw_impl_factory_new(context,
|
||||
factory = pw_context_create_factory(context,
|
||||
"client-device",
|
||||
SPA_TYPE_INTERFACE_Device,
|
||||
SPA_VERSION_DEVICE,
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
struct pw_impl_factory *factory;
|
||||
struct factory_data *data;
|
||||
|
||||
factory = pw_impl_factory_new(context,
|
||||
factory = pw_context_create_factory(context,
|
||||
"client-node",
|
||||
PW_TYPE_INTERFACE_ClientNode,
|
||||
PW_VERSION_CLIENT_NODE,
|
||||
|
|
|
|||
|
|
@ -368,7 +368,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
struct pw_impl_factory *factory;
|
||||
struct factory_data *data;
|
||||
|
||||
factory = pw_impl_factory_new(context,
|
||||
factory = pw_context_create_factory(context,
|
||||
"link-factory",
|
||||
PW_TYPE_INTERFACE_Link,
|
||||
PW_VERSION_LINK,
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
if ((res = pw_protocol_native_ext_metadata_init(context)) < 0)
|
||||
return res;
|
||||
|
||||
factory = pw_impl_factory_new(context,
|
||||
factory = pw_context_create_factory(context,
|
||||
"metadata",
|
||||
PW_TYPE_INTERFACE_Metadata,
|
||||
PW_VERSION_METADATA,
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ int client_endpoint_factory_init(struct pw_impl_module *module)
|
|||
struct pw_impl_factory *factory;
|
||||
struct factory_data *data;
|
||||
|
||||
factory = pw_impl_factory_new(context,
|
||||
factory = pw_context_create_factory(context,
|
||||
"client-endpoint",
|
||||
PW_TYPE_INTERFACE_ClientEndpoint,
|
||||
PW_VERSION_CLIENT_ENDPOINT,
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@ int client_session_factory_init(struct pw_impl_module *module)
|
|||
struct pw_impl_factory *factory;
|
||||
struct factory_data *data;
|
||||
|
||||
factory = pw_impl_factory_new(context,
|
||||
factory = pw_context_create_factory(context,
|
||||
"client-session",
|
||||
PW_TYPE_INTERFACE_ClientSession,
|
||||
PW_VERSION_CLIENT_SESSION,
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
struct pw_impl_factory *factory;
|
||||
struct factory_data *data;
|
||||
|
||||
factory = pw_impl_factory_new(context,
|
||||
factory = pw_context_create_factory(context,
|
||||
"spa-device-factory",
|
||||
PW_TYPE_INTERFACE_Device,
|
||||
PW_VERSION_DEVICE,
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
struct pw_impl_factory *factory;
|
||||
struct factory_data *data;
|
||||
|
||||
factory = pw_impl_factory_new(context,
|
||||
factory = pw_context_create_factory(context,
|
||||
"spa-node-factory",
|
||||
PW_TYPE_INTERFACE_Node,
|
||||
PW_VERSION_NODE,
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ struct resource_data {
|
|||
};
|
||||
|
||||
SPA_EXPORT
|
||||
struct pw_impl_factory *pw_impl_factory_new(struct pw_context *context,
|
||||
struct pw_impl_factory *pw_context_create_factory(struct pw_context *context,
|
||||
const char *name,
|
||||
uint32_t type,
|
||||
uint32_t version,
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ struct pw_impl_factory_implementation {
|
|||
uint32_t new_id);
|
||||
};
|
||||
|
||||
struct pw_impl_factory *pw_impl_factory_new(struct pw_context *context,
|
||||
struct pw_impl_factory *pw_context_create_factory(struct pw_context *context,
|
||||
const char *name,
|
||||
uint32_t type,
|
||||
uint32_t version,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue