PipeWire 1.2.7
|
#include <pipewire/extensions/session-manager/interfaces.h>
Data Fields | |
uint32_t | version |
version of this structure | |
int(* | add_listener )(void *object, struct spa_hook *listener, const struct pw_endpoint_events *events, void *data) |
int(* | subscribe_params )(void *object, uint32_t *ids, uint32_t n_ids) |
Subscribe to parameter changes. | |
int(* | enum_params )(void *object, int seq, uint32_t id, uint32_t start, uint32_t num, const struct spa_pod *filter) |
Enumerate endpoint parameters. | |
int(* | set_param )(void *object, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set a parameter on the endpoint. | |
int(* | create_link )(void *object, const struct spa_dict *props) |
Create a link. | |
uint32_t pw_endpoint_methods::version |
version of this structure
int(* pw_endpoint_methods::add_listener) (void *object, struct spa_hook *listener, const struct pw_endpoint_events *events, void *data) |
int(* pw_endpoint_methods::subscribe_params) (void *object, uint32_t *ids, uint32_t n_ids) |
Subscribe to parameter changes.
Automatically emit param events for the given ids when they are changed.
ids | an array of param ids |
n_ids | the number of ids in ids |
This requires X permissions.
int(* pw_endpoint_methods::enum_params) (void *object, int seq, uint32_t id, uint32_t start, uint32_t num, const struct spa_pod *filter) |
Enumerate endpoint parameters.
Start enumeration of endpoint parameters. For each param, a param event will be emitted.
seq | a sequence number returned in the reply |
id | the parameter id to enumerate |
start | the start index or 0 for the first param |
num | the maximum number of params to retrieve |
filter | a param filter or NULL |
This requires X permissions.
int(* pw_endpoint_methods::set_param) (void *object, uint32_t id, uint32_t flags, const struct spa_pod *param) |
Set a parameter on the endpoint.
id | the parameter id to set |
flags | extra parameter flags |
param | the parameter to set |
This requires X and W permissions.
int(* pw_endpoint_methods::create_link) (void *object, const struct spa_dict *props) |
Create a link.
This requires X permissions.