diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-21 02:45:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-21 02:45:31 +0100 |
commit | b3675c28fa1c4bc4707e5700bc618240fc10e212 (patch) | |
tree | 47d64c4c3806a350101dc0584a4671ad8e31249c /src/pulsecore/sink.h | |
parent | 8d5b375f67d1f414c0faa3e7810dc63b6e48b6a8 (diff) |
add functions that modules can call whenever they now the volume changed
Diffstat (limited to 'src/pulsecore/sink.h')
-rw-r--r-- | src/pulsecore/sink.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |