PipeWire
0.3.45
|
Data Fields | |
uint32_t | version |
version of this structure More... | |
int(* | set_session_id )(void *object, uint32_t session_id) |
Sets the session id of the endpoint. More... | |
int(* | set_param )(void *object, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set the configurable parameter in endpoint. More... | |
int(* | stream_set_param )(void *object, uint32_t stream_id, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set a parameter on stream_id of endpoint. More... | |
int(* | create_link )(void *object, const struct spa_dict *props) |
uint32_t pw_client_endpoint_events::version |
version of this structure
int(* pw_client_endpoint_events::set_session_id) (void *object, uint32_t session_id) |
Sets the session id of the endpoint.
On endpoints that are not session masters, this method notifies the implementation that it has been associated with a session. The implementation is obliged to set this id in the #struct pw_endpoint_info session_id field.
endpoint | a pw_endpoint |
id | the session id associated with this endpoint |
int(* pw_client_endpoint_events::set_param) (void *object, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set the configurable parameter in endpoint.
Usually, param will be obtained from enum_params and then modified but it is also possible to set another spa_pod as long as its keys and types match a supported object.
Objects with property keys that are not known are ignored.
This function must be called from the main thread.
endpoint | a #struct pw_endpoint |
id | the parameter id to configure |
flags | additional flags |
param | the parameter to configure |
int(* pw_client_endpoint_events::stream_set_param) (void *object, uint32_t stream_id, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set a parameter on stream_id of endpoint.
When param is NULL, the parameter will be unset.
This function must be called from the main thread.
endpoint | a #struct pw_endpoint |
stream_id | the stream to configure |
id | the parameter id to set |
flags | optional flags |
param | a #struct spa_pod with the parameter to set |
int(* pw_client_endpoint_events::create_link) (void *object, const struct spa_dict *props) |