PipeWire
0.1.5
|
Functions | |
void | pw_client_register (struct pw_client *client, struct pw_client *owner, struct pw_global *parent) |
Finish configuration and register a client. More... | |
struct pw_core * | pw_client_get_core (struct pw_client *client) |
Get the core used to create this client. More... | |
struct pw_resource * | pw_client_get_core_resource (struct pw_client *client) |
Get the client core resource. More... | |
struct pw_resource * | pw_client_find_resource (struct pw_client *client, uint32_t id) |
Get a resource with the given id. More... | |
struct pw_global * | pw_client_get_global (struct pw_client *client) |
Get the global associated with this client. More... | |
const struct pw_properties * | pw_client_get_properties (struct pw_client *client) |
Get the client properties. More... | |
const struct ucred * | pw_client_get_ucred (struct pw_client *client) |
Get the ucred from a client or NULL when not specified/valid. More... | |
void * | pw_client_get_user_data (struct pw_client *client) |
Get the client user data. More... | |
void | pw_client_add_listener (struct pw_client *client, struct spa_hook *listener, const struct pw_client_events *events, void *data) |
listen to events from this client More... | |
const struct pw_client_info * | pw_client_get_info (struct pw_client *client) |
Get the client information. More... | |
void | pw_client_set_busy (struct pw_client *client, bool busy) |
Mark the client busy. More... | |
void pw_client_add_listener | ( | struct pw_client * | client, |
struct spa_hook * | listener, | ||
const struct pw_client_events * | events, | ||
void * | data | ||
) |
listen to events from this client
struct pw_resource* pw_client_find_resource | ( | struct pw_client * | client, |
uint32_t | id | ||
) |
Get a resource with the given id.
Get the core used to create this client.
struct pw_resource* pw_client_get_core_resource | ( | struct pw_client * | client | ) |
Get the client core resource.
Get the global associated with this client.
const struct pw_client_info* pw_client_get_info | ( | struct pw_client * | client | ) |
Get the client information.
const struct pw_properties* pw_client_get_properties | ( | struct pw_client * | client | ) |
Get the client properties.
const struct ucred* pw_client_get_ucred | ( | struct pw_client * | client | ) |
Get the ucred from a client or NULL when not specified/valid.
void* pw_client_get_user_data | ( | struct pw_client * | client | ) |
Get the client user data.
void pw_client_register | ( | struct pw_client * | client, |
struct pw_client * | owner, | ||
struct pw_global * | parent | ||
) |
Finish configuration and register a client.
client | the client to register |
owner | optional owner |
parent | the client parent |
References pw_core_add_global(), and PW_VERSION_CLIENT.
void pw_client_set_busy | ( | struct pw_client * | client, |
bool | busy | ||
) |
Mark the client busy.
This can be used when an asynchronous operation is started and no further processing is allowed to happen for the client