summaryrefslogtreecommitdiffstats
path: root/plugins/audio/audio-pulse.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-04-05 19:32:47 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-04-05 19:32:47 +0200
commitfb230eee946673ed5ebe9659d623c2a06d0a80ce (patch)
tree1ec5034c1f97e8dd4812c1164fa984ed2d43bc48 /plugins/audio/audio-pulse.h
parent87d2ff17b84459e785c7820563bb0172849810c4 (diff)
parent1eea40b826a760f5e15c859744b290b680cda8ab (diff)
Merge branch 'master' of github.com:iotbzh/afb-daemon
Diffstat (limited to 'plugins/audio/audio-pulse.h')
-rw-r--r--plugins/audio/audio-pulse.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/audio/audio-pulse.h b/plugins/audio/audio-pulse.h
index fc18d9c0..7405fb84 100644
--- a/plugins/audio/audio-pulse.h
+++ b/plugins/audio/audio-pulse.h
@@ -49,6 +49,16 @@ struct alsa_info {
char *synonyms;
};
+PUBLIC unsigned char _pulse_init (const char *, audioCtxHandleT *);
+PUBLIC void _pulse_free (audioCtxHandleT *);
+PUBLIC void _pulse_play (audioCtxHandleT *);
+PUBLIC void _pulse_stop (audioCtxHandleT *);
+PUBLIC unsigned int _pulse_get_volume (audioCtxHandleT *, unsigned int);
+PUBLIC void _pulse_set_volume (audioCtxHandleT *, unsigned int, unsigned int);
+PUBLIC void _pulse_set_volume_all (audioCtxHandleT *, unsigned int);
+PUBLIC unsigned char _pulse_get_mute (audioCtxHandleT *);
+PUBLIC void _pulse_set_mute (audioCtxHandleT *, unsigned char);
+
STATIC void _pulse_context_cb (pa_context *, void *);
STATIC void _pulse_sink_list_cb (pa_context *, const pa_sink_info *, int, void *);
STATIC void _pulse_sink_info_cb (pa_context *, const pa_sink_info *, int, void *);