summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/source.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-21 02:45:31 +0100
committerLennart Poettering <lennart@poettering.net>2009-03-21 02:45:31 +0100
commitb3675c28fa1c4bc4707e5700bc618240fc10e212 (patch)
tree47d64c4c3806a350101dc0584a4671ad8e31249c /src/pulsecore/source.h
parent8d5b375f67d1f414c0faa3e7810dc63b6e48b6a8 (diff)
add functions that modules can call whenever they now the volume changed
Diffstat (limited to 'src/pulsecore/source.h')
-rw-r--r--src/pulsecore/source.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/source.h b/src/pulsecore/source.h
index 26471de0..68bf2f06 100644
--- a/src/pulsecore/source.h
+++ b/src/pulsecore/source.h
@@ -211,6 +211,8 @@ void pa_source_detach(pa_source *s);
void pa_source_attach(pa_source *s);
void pa_source_set_soft_volume(pa_source *s, const pa_cvolume *volume);
+void pa_source_volume_changed(pa_source *s, const pa_cvolume *new_volume);
+void pa_source_mute_changed(pa_source *s, pa_bool_t new_muted);
int pa_source_sync_suspend(pa_source *s);