mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
sink, source: Add hooks for volume changes
This commit is contained in:
parent
f88912af9b
commit
df7d8ba804
3 changed files with 4 additions and 0 deletions
|
|
@ -2869,4 +2869,5 @@ void pa_source_set_reference_volume_direct(pa_source *s, const pa_cvolume *volum
|
|||
s->flags & PA_SOURCE_DECIBEL_VOLUME));
|
||||
|
||||
pa_subscription_post(s->core, PA_SUBSCRIPTION_EVENT_SOURCE|PA_SUBSCRIPTION_EVENT_CHANGE, s->index);
|
||||
pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_VOLUME_CHANGED], s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue