PipeWire
0.3.59
|
Data Fields | |
uint32_t | version |
version of this structure More... | |
int(* | set_param )(void *data, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set the configurable parameter in session. More... | |
int(* | link_set_param )(void *data, uint32_t link_id, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set a parameter on link_id of session. More... | |
int(* | link_request_state )(void *data, uint32_t link_id, uint32_t state) |
uint32_t pw_client_session_events::version |
version of this structure
int(* pw_client_session_events::set_param) (void *data, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set the configurable parameter in session.
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.
session | a #struct pw_session |
id | the parameter id to configure |
flags | additional flags |
param | the parameter to configure |
int(* pw_client_session_events::link_set_param) (void *data, uint32_t link_id, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set a parameter on link_id of session.
When param is NULL, the parameter will be unset.
This function must be called from the main thread.
session | a #struct pw_session |
link_id | the link to configure |
id | the parameter id to set |
flags | optional flags |
param | a #struct spa_pod with the parameter to set |
int(* pw_client_session_events::link_request_state) (void *data, uint32_t link_id, uint32_t state) |