PipeWire 1.2.6
Loading...
Searching...
No Matches
plugin.h File Reference

spa/support/plugin.h More...

Go to the source code of this file.

Data Structures

struct  spa_handle
 
struct  spa_interface_info
 This structure lists the information about available interfaces on handles. More...
 
struct  spa_support
 Extra supporting infrastructure passed to the init() function of a factory. More...
 
struct  spa_handle_factory
 

Macros

#define SPA_VERSION_HANDLE   0
 Version of this struct.
 
#define spa_handle_get_interface(h, ...)
 
#define spa_handle_clear(h)
 
#define SPA_SUPPORT_INIT(type, data)
 
#define SPA_VERSION_HANDLE_FACTORY   1
 The version of this structure.
 
#define spa_handle_factory_get_size(h, ...)
 
#define spa_handle_factory_init(h, ...)
 
#define spa_handle_factory_enum_interface_info(h, ...)
 
#define SPA_HANDLE_FACTORY_ENUM_FUNC_NAME   "spa_handle_factory_enum"
 
#define SPA_KEY_FACTORY_NAME   "factory.name"
 the name of a factory
 
#define SPA_KEY_FACTORY_AUTHOR   "factory.author"
 a comma separated list of factory authors
 
#define SPA_KEY_FACTORY_DESCRIPTION   "factory.description"
 description of a factory
 
#define SPA_KEY_FACTORY_USAGE   "factory.usage"
 usage of a factory
 
#define SPA_KEY_LIBRARY_NAME   "library.name"
 the name of a library.
 

Typedefs

typedef int(* spa_handle_factory_enum_func_t) (const struct spa_handle_factory **factory, uint32_t *index)
 The function signature of the entry point in a plugin.
 

Functions

static void * spa_support_find (const struct spa_support *support, uint32_t n_support, const char *type)
 Find a support item of the given type.
 
int spa_handle_factory_enum (const struct spa_handle_factory **factory, uint32_t *index)
 The entry point in a plugin.
 

Detailed Description