PipeWire 1.4.1
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Module

Module interface More...

Files

file  module.h
 pipewire/module.h
 

Data Structures

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

Macros

#define PW_TYPE_INTERFACE_Module   PW_TYPE_INFO_INTERFACE_BASE "Module"
 
#define PW_MODULE_PERM_MASK   PW_PERM_R|PW_PERM_M
 
#define PW_VERSION_MODULE   3
 
#define PW_API_MODULE_IMPL   static inline
 
#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
 

Functions

struct pw_module_infopw_module_info_update (struct pw_module_info *info, const struct pw_module_info *update)
 Update and existing pw_module_info with update with reset.
 
struct pw_module_infopw_module_info_merge (struct pw_module_info *info, const struct pw_module_info *update, bool reset)
 Merge and existing pw_module_info with update.
 
void pw_module_info_free (struct pw_module_info *info)
 Free a pw_module_info.
 
PW_API_MODULE_IMPL int pw_module_add_listener (struct pw_module *object, struct spa_hook *listener, const struct pw_module_events *events, void *data)
 

Detailed Description

Module interface

Macro Definition Documentation

◆ PW_TYPE_INTERFACE_Module

#define PW_TYPE_INTERFACE_Module   PW_TYPE_INFO_INTERFACE_BASE "Module"

◆ PW_MODULE_PERM_MASK

#define PW_MODULE_PERM_MASK   PW_PERM_R|PW_PERM_M

◆ PW_VERSION_MODULE

#define PW_VERSION_MODULE   3

◆ PW_API_MODULE_IMPL

#define PW_API_MODULE_IMPL   static inline

◆ PW_MODULE_CHANGE_MASK_PROPS

#define PW_MODULE_CHANGE_MASK_PROPS   (1 << 0)

◆ PW_MODULE_CHANGE_MASK_ALL

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

◆ PW_MODULE_EVENT_INFO

#define PW_MODULE_EVENT_INFO   0

◆ PW_MODULE_EVENT_NUM

#define PW_MODULE_EVENT_NUM   1

◆ PW_VERSION_MODULE_EVENTS

#define PW_VERSION_MODULE_EVENTS   0

◆ PW_MODULE_METHOD_ADD_LISTENER

#define PW_MODULE_METHOD_ADD_LISTENER   0

◆ PW_MODULE_METHOD_NUM

#define PW_MODULE_METHOD_NUM   1

◆ PW_VERSION_MODULE_METHODS

#define PW_VERSION_MODULE_METHODS   0

Function Documentation

◆ pw_module_info_update()

struct pw_module_info * pw_module_info_update ( struct pw_module_info * info,
const struct pw_module_info * update )

Update and existing pw_module_info with update with reset.

◆ pw_module_info_merge()

struct pw_module_info * pw_module_info_merge ( struct pw_module_info * info,
const struct pw_module_info * update,
bool reset )

Merge and existing pw_module_info with update.

◆ pw_module_info_free()

void pw_module_info_free ( struct pw_module_info * info)

Free a pw_module_info.

◆ pw_module_add_listener()

PW_API_MODULE_IMPL int pw_module_add_listener ( struct pw_module * object,
struct spa_hook * listener,
const struct pw_module_events * events,
void * data )