From b3675c28fa1c4bc4707e5700bc618240fc10e212 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 21 Mar 2009 02:45:31 +0100 Subject: add functions that modules can call whenever they now the volume changed --- src/pulsecore/sink.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pulsecore/sink.h') diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h index 0d33679f..448f2805 100644 --- a/src/pulsecore/sink.h +++ b/src/pulsecore/sink.h @@ -224,6 +224,8 @@ void pa_sink_detach(pa_sink *s); void pa_sink_attach(pa_sink *s); void pa_sink_set_soft_volume(pa_sink *s, const pa_cvolume *volume); +void pa_sink_volume_changed(pa_sink *s, const pa_cvolume *new_volume); +void pa_sink_mute_changed(pa_sink *s, pa_bool_t new_muted); pa_bool_t pa_device_init_description(pa_proplist *p); pa_bool_t pa_device_init_icon(pa_proplist *p, pa_bool_t is_sink); -- cgit