SPA plugin handle and factory interfaces
More...
SPA plugin handle and factory interfaces
See: SPA Plugins
◆ spa_handle_factory_enum_func_t
typedef int(* spa_handle_factory_enum_func_t) (const struct spa_handle_factory **factory, uint32_t *index) |
◆ SPA_VERSION_HANDLE
#define SPA_VERSION_HANDLE 0 |
◆ spa_handle_get_interface
#define spa_handle_get_interface |
( |
| h, |
|
|
| ... ) |
◆ spa_handle_clear
#define spa_handle_clear |
( |
| h | ) |
|
◆ SPA_SUPPORT_INIT
#define SPA_SUPPORT_INIT |
( |
| type, |
|
|
| data ) |
◆ SPA_VERSION_HANDLE_FACTORY
#define SPA_VERSION_HANDLE_FACTORY 1 |
The version of this structure.
◆ spa_handle_factory_get_size
#define spa_handle_factory_get_size |
( |
| h, |
|
|
| ... ) |
◆ spa_handle_factory_init
#define spa_handle_factory_init |
( |
| h, |
|
|
| ... ) |
◆ spa_handle_factory_enum_interface_info
#define spa_handle_factory_enum_interface_info |
( |
| h, |
|
|
| ... ) |
Value:(h)->enum_interface_info((h),__VA_ARGS__)
◆ SPA_HANDLE_FACTORY_ENUM_FUNC_NAME
#define SPA_HANDLE_FACTORY_ENUM_FUNC_NAME "spa_handle_factory_enum" |
◆ SPA_KEY_FACTORY_NAME
#define SPA_KEY_FACTORY_NAME "factory.name" |
◆ SPA_KEY_FACTORY_AUTHOR
#define SPA_KEY_FACTORY_AUTHOR "factory.author" |
a comma separated list of factory authors
◆ SPA_KEY_FACTORY_DESCRIPTION
#define SPA_KEY_FACTORY_DESCRIPTION "factory.description" |
◆ SPA_KEY_FACTORY_USAGE
#define SPA_KEY_FACTORY_USAGE "factory.usage" |
◆ SPA_KEY_LIBRARY_NAME
#define SPA_KEY_LIBRARY_NAME "library.name" |
◆ spa_support_find()
static void * spa_support_find |
( |
const struct spa_support * | support, |
|
|
uint32_t | n_support, |
|
|
const char * | type ) |
|
inlinestatic |
Find a support item of the given type.
◆ spa_handle_factory_enum()
int spa_handle_factory_enum |
( |
const struct spa_handle_factory ** | factory, |
|
|
uint32_t * | index ) |
The entry point in a plugin.
- Parameters
-
factory | a location to hold the factory result |
index | index to keep track of the enumeration |
- Returns
- 1 on success 0 when no more items are available < 0 errno type error