PipeWire  0.3.61
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.

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

◆ unload

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

Unload a SPA plugin.

Parameters
handlePlugin handle.
Returns
0 on success, < 0 on error

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