mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -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
|
|
@ -83,6 +83,6 @@ void impl_add_listener(struct impl *impl,
|
|||
struct spa_hook *listener,
|
||||
const struct impl_events *events, void *data);
|
||||
|
||||
void broadcast_subscribe_event(struct impl *impl, uint32_t mask, uint32_t event, uint32_t id);
|
||||
void broadcast_subscribe_event(struct impl *impl, uint32_t facility, uint32_t type, uint32_t id);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue