mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
context: use subscribe params
Improve volume setting
This commit is contained in:
parent
571cb214d5
commit
d4cf47ec55
3 changed files with 64 additions and 52 deletions
|
|
@ -219,7 +219,6 @@ struct global {
|
|||
uint32_t id;
|
||||
uint32_t parent_id;
|
||||
uint32_t type;
|
||||
int init:1;
|
||||
struct pw_properties *props;
|
||||
|
||||
pa_context *context;
|
||||
|
|
@ -227,6 +226,8 @@ struct global {
|
|||
pa_subscription_event_type_t event;
|
||||
|
||||
int pending_seq;
|
||||
int init:1;
|
||||
int subscribed:1;
|
||||
|
||||
void *info;
|
||||
pw_destroy_t destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue