mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
add index of method, event and callback defines
This commit is contained in:
parent
5299677f88
commit
7d1a833b82
2 changed files with 39 additions and 0 deletions
|
|
@ -83,6 +83,12 @@ struct spa_result_device_params {
|
|||
struct spa_pod *param;
|
||||
};
|
||||
|
||||
#define SPA_DEVICE_EVENT_INFO 0
|
||||
#define SPA_DEVICE_EVENT_RESULT 1
|
||||
#define SPA_DEVICE_EVENT_EVENT 2
|
||||
#define SPA_DEVICE_EVENT_OBJECT_INFO 3
|
||||
#define SPA_DEVICE_EVENT_NUM 4
|
||||
|
||||
/**
|
||||
* spa_device_events:
|
||||
*
|
||||
|
|
@ -108,6 +114,11 @@ struct spa_device_events {
|
|||
const struct spa_device_object_info *info);
|
||||
};
|
||||
|
||||
#define SPA_DEVICE_METHOD_ADD_LISTENER 0
|
||||
#define SPA_DEVICE_METHOD_ENUM_PARAMS 1
|
||||
#define SPA_DEVICE_METHOD_SET_PARAM 2
|
||||
#define SPA_DEVICE_METHOD_NUM 3
|
||||
|
||||
/**
|
||||
* spa_device_methods:
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue