26 #ifndef PIPEWIRE_EXT_SESSION_MANAGER_INTROSPECT_H
27 #define PIPEWIRE_EXT_SESSION_MANAGER_INTROSPECT_H
50 #define PW_VERSION_SESSION_INFO 0
53 #define PW_SESSION_CHANGE_MASK_PROPS (1 << 0)
54 #define PW_SESSION_CHANGE_MASK_PARAMS (1 << 1)
55 #define PW_SESSION_CHANGE_MASK_ALL ((1 << 2)-1)
63 #define PW_VERSION_ENDPOINT_INFO 0
69 #define PW_ENDPOINT_FLAG_PROVIDES_SESSION (1 << 0)
71 #define PW_ENDPOINT_CHANGE_MASK_STREAMS (1 << 0)
72 #define PW_ENDPOINT_CHANGE_MASK_SESSION (1 << 1)
73 #define PW_ENDPOINT_CHANGE_MASK_PROPS (1 << 2)
74 #define PW_ENDPOINT_CHANGE_MASK_PARAMS (1 << 3)
75 #define PW_ENDPOINT_CHANGE_MASK_ALL ((1 << 4)-1)
85 #define PW_VERSION_ENDPOINT_STREAM_INFO 0
90 #define PW_ENDPOINT_STREAM_CHANGE_MASK_LINK_PARAMS (1 << 0)
91 #define PW_ENDPOINT_STREAM_CHANGE_MASK_PROPS (1 << 1)
92 #define PW_ENDPOINT_STREAM_CHANGE_MASK_PARAMS (1 << 2)
93 #define PW_ENDPOINT_STREAM_CHANGE_MASK_ALL ((1 << 3)-1)
102 #define PW_VERSION_ENDPOINT_LINK_INFO 0
110 #define PW_ENDPOINT_LINK_CHANGE_MASK_STATE (1 << 0)
111 #define PW_ENDPOINT_LINK_CHANGE_MASK_PROPS (1 << 1)
112 #define PW_ENDPOINT_LINK_CHANGE_MASK_PARAMS (1 << 2)
113 #define PW_ENDPOINT_LINK_CHANGE_MASK_ALL ((1 << 3)-1)
#define pw_direction
The direction of a port.
Definition: port.h:63
pw_endpoint_link_state
Definition: introspect.h:46
@ PW_ENDPOINT_LINK_STATE_PREPARING
Definition: introspect.h:48
@ PW_ENDPOINT_LINK_STATE_ACTIVE
Definition: introspect.h:50
@ PW_ENDPOINT_LINK_STATE_INACTIVE
Definition: introspect.h:49
@ PW_ENDPOINT_LINK_STATE_ERROR
Definition: introspect.h:47
Definition: introspect.h:70
struct spa_param_info * params
parameters
Definition: introspect.h:95
uint32_t id
the endpoint id (global)
Definition: introspect.h:74
uint64_t change_mask
bitfield of changed fields since last call
Definition: introspect.h:91
enum pw_direction direction
direction of the endpoint
Definition: introspect.h:77
uint32_t n_params
number of items in params
Definition: introspect.h:96
uint32_t flags
additional flags
Definition: introspect.h:80
uint32_t version
version of this structure
Definition: introspect.h:73
char * media_class
media class of the endpoint
Definition: introspect.h:76
uint32_t session_id
the id of the controlling session
Definition: introspect.h:93
uint32_t n_streams
number of streams available
Definition: introspect.h:92
Definition: introspect.h:121
uint32_t id
the link id (global)
Definition: introspect.h:125
uint32_t output_endpoint_id
the output endpoint id (global)
Definition: introspect.h:127
uint32_t input_endpoint_id
the input endpoint id (global)
Definition: introspect.h:129
char * error
error string if state == ERROR
Definition: introspect.h:141
uint32_t version
version of this structure
Definition: introspect.h:124
struct spa_param_info * params
parameters
Definition: introspect.h:143
enum pw_endpoint_link_state state
the state of the link
Definition: introspect.h:140
uint32_t n_params
number of items in params
Definition: introspect.h:144
uint32_t output_stream_id
the output stream id (local or global)
Definition: introspect.h:128
uint32_t input_stream_id
the input stream id (local or global)
Definition: introspect.h:130
uint32_t session_id
the session id (global)
Definition: introspect.h:126
Definition: introspect.h:99
uint32_t n_params
number of items in params
Definition: introspect.h:118
struct spa_param_info * params
parameters
Definition: introspect.h:117
uint32_t endpoint_id
the endpoint id (global)
Definition: introspect.h:104
struct spa_pod * link_params
information for linking this stream
Definition: introspect.h:115
uint32_t id
the stream id (local or global)
Definition: introspect.h:103
uint32_t version
version of this structure
Definition: introspect.h:102
uint64_t change_mask
bitfield of changed fields since last call
Definition: introspect.h:114
Definition: introspect.h:53
struct spa_param_info * params
parameters
Definition: introspect.h:66
uint64_t change_mask
bitfield of changed fields since last call
Definition: introspect.h:64
uint32_t id
the session id (global)
Definition: introspect.h:57
uint32_t version
version of this structure
Definition: introspect.h:56
uint32_t n_params
number of items in params
Definition: introspect.h:67
information about a parameter
Definition: param.h:70