mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
pulse-server: calculate event mask from facility and type
Make `client_queue_subscribe_event()` take the facility and type separately, and calculate the mask itself, so that the caller does not need to be concerned with that.
This commit is contained in:
parent
e3a7035e8f
commit
27b76ae686
6 changed files with 115 additions and 65 deletions
|
|
@ -99,7 +99,7 @@ void client_disconnect(struct client *client);
|
|||
void client_free(struct client *client);
|
||||
int client_queue_message(struct client *client, struct message *msg);
|
||||
int client_flush_messages(struct client *client);
|
||||
int client_queue_subscribe_event(struct client *client, uint32_t mask, uint32_t event, uint32_t id);
|
||||
int client_queue_subscribe_event(struct client *client, uint32_t facility, uint32_t type, uint32_t index);
|
||||
|
||||
void client_update_routes(struct client *client, const char *key, const char *value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue