mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
context: rework how we introspect
Use the properties of the global to mark the global type, use this to filter the objects. Hook up the volume control
This commit is contained in:
parent
11ee416bb0
commit
b98c98cc8d
5 changed files with 196 additions and 111 deletions
|
|
@ -44,6 +44,8 @@ pa_operation* pa_context_subscribe(pa_context *c, pa_subscription_mask_t m, pa_c
|
|||
pa_assert(c);
|
||||
pa_assert(c->refcount >= 1);
|
||||
|
||||
c->subscribe_mask = m;
|
||||
|
||||
o = pa_operation_new(c, NULL, on_subscribed, sizeof(struct subscribe_data));
|
||||
d = o->userdata;
|
||||
d->cb = cb;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue