20 #ifndef __PIPEWIRE_NODE_FACTORY_H__ 21 #define __PIPEWIRE_NODE_FACTORY_H__ 27 #define PW_TYPE_INTERFACE__NodeFactory PW_TYPE_INTERFACE_BASE "NodeFactory" 28 #define PW_TYPE_NODE_FACTORY_BASE PW_TYPE_INTERFACE__NodeFactory ":" 45 #define PW_VERSION_NODE_FACRORY_IMPLEMENTATION 0 49 struct pw_node *(*create_node) (
void *data,
57 size_t user_data_size);
const char * name
the factory name
Definition: private.h:366
A collection of key/value pairs.
Definition: properties.h:38
struct pw_node_factory * pw_node_factory_new(struct pw_core *core, const char *name, size_t user_data_size)
Definition: node-factory.c:24
struct pw_core * core
the core
Definition: private.h:362
const struct pw_node_factory_implementation * implementation
Definition: private.h:368
struct pw_properties * properties
properties of the node
Definition: private.h:211
A global object visible to all clients.
Definition: private.h:87
Client owned objects.
Definition: private.h:284
PipeWire node class.
Definition: private.h:205
void pw_node_factory_destroy(struct pw_node_factory *factory)
Definition: node-factory.c:42
PipeWire client object class.
Definition: private.h:58
PipeWire node factory interface.
Definition: private.h:361
void * pw_node_factory_get_user_data(struct pw_node_factory *factory)
Definition: node-factory.c:65
Definition: node-factory.h:44
uint32_t version
Definition: node-factory.h:46
void pw_node_factory_export(struct pw_node_factory *factory, struct pw_client *owner, struct pw_global *parent)
Definition: node-factory.c:56
void pw_node_factory_set_implementation(struct pw_node_factory *factory, const struct pw_node_factory_implementation *implementation, void *data)
Definition: node-factory.c:70
the core PipeWire object
Definition: private.h:103
struct pw_node * pw_node_factory_create_node(struct pw_node_factory *factory, struct pw_resource *resource, const char *name, struct pw_properties *properties)
Definition: node-factory.c:78