PipeWire  0.3.15
module.h File Reference
Include dependency graph for module.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pw_module_info
 The module information. More...
 
struct  pw_module_events
 Module events. More...
 
struct  pw_module_methods
 Module methods. More...
 

Macros

#define PW_TYPE_INTERFACE_Module   PW_TYPE_INFO_INTERFACE_BASE "Module"
 
#define PW_VERSION_MODULE   3
 
#define PW_MODULE_CHANGE_MASK_PROPS   (1 << 0)
 
#define PW_MODULE_CHANGE_MASK_ALL   ((1 << 1)-1)
 
#define PW_MODULE_EVENT_INFO   0
 
#define PW_MODULE_EVENT_NUM   1
 
#define PW_VERSION_MODULE_EVENTS   0
 
#define PW_MODULE_METHOD_ADD_LISTENER   0
 
#define PW_MODULE_METHOD_NUM   1
 
#define PW_VERSION_MODULE_METHODS   0
 
#define pw_module_method(o, method, version, ...)
 
#define pw_module_add_listener(c, ...)   pw_module_method(c,add_listener,0,__VA_ARGS__)
 

Macro Definition Documentation

◆ pw_module_add_listener

#define pw_module_add_listener (   c,
  ... 
)    pw_module_method(c,add_listener,0,__VA_ARGS__)

◆ PW_MODULE_CHANGE_MASK_ALL

#define PW_MODULE_CHANGE_MASK_ALL   ((1 << 1)-1)

◆ PW_MODULE_CHANGE_MASK_PROPS

#define PW_MODULE_CHANGE_MASK_PROPS   (1 << 0)

◆ PW_MODULE_EVENT_INFO

#define PW_MODULE_EVENT_INFO   0

◆ PW_MODULE_EVENT_NUM

#define PW_MODULE_EVENT_NUM   1

◆ pw_module_method

#define pw_module_method (   o,
  method,
  version,
  ... 
)
Value:
({ \
int _res = -ENOTSUP; \
spa_interface_call_res((struct spa_interface*)o, \
struct pw_module_methods, _res, \
method, version, ##__VA_ARGS__); \
_res; \
})

◆ PW_MODULE_METHOD_ADD_LISTENER

#define PW_MODULE_METHOD_ADD_LISTENER   0

◆ PW_MODULE_METHOD_NUM

#define PW_MODULE_METHOD_NUM   1

◆ PW_TYPE_INTERFACE_Module

#define PW_TYPE_INTERFACE_Module   PW_TYPE_INFO_INTERFACE_BASE "Module"

◆ PW_VERSION_MODULE

#define PW_VERSION_MODULE   3

◆ PW_VERSION_MODULE_EVENTS

#define PW_VERSION_MODULE_EVENTS   0

◆ PW_VERSION_MODULE_METHODS

#define PW_VERSION_MODULE_METHODS   0
pw_module_methods
Module methods.
Definition: module.h:81