PipeWire  0.3.52
spa_plugin_loader_methods Struct Reference

Data Fields

uint32_t version
struct spa_handle *(* load )(void *object, const char *factory_name, const struct spa_dict *info)
 Load a SPA plugin. More...
int(* unload )(void *object, struct spa_handle *handle)
 Unload a SPA plugin. More...

Field Documentation

◆ version

uint32_t spa_plugin_loader_methods::version

◆ load

struct spa_handle*(* spa_plugin_loader_methods::load) (void *object, const char *factory_name, const struct spa_dict *info)

Load a SPA plugin.

factory_namePlugin factory name
infoInfo dictionary for plugin. NULL if none.
plugin handle, or NULL on error

◆ unload

int(* spa_plugin_loader_methods::unload) (void *object, struct spa_handle *handle)

Unload a SPA plugin.

handlePlugin handle.
0 on success, < 0 on error

The documentation for this struct was generated from the following file: