From 21bb10f4bf6708f4786821eff470cd0c59d04b00 Mon Sep 17 00:00:00 2001 From: David Guibert Date: Fri, 6 Mar 2009 18:21:23 +0100 Subject: pulse mixer This patch introduces the mixer for the pulse output. Technically speaking, the pulse index is needed to get or set the volume. You must define callback fonctions to get this index since the pulse output in mpd is done using the simpe api. The pulse simple api does not provide the index of the newly defined output. So callback fonctions are associated to the pulse context. The list of all the sink input is then retreived. Then we select the name of the mpd pulse output and control its volume by its associated index number. Signed-off-by: Patrice Linel Signed-off-by: David Guibert [mk: fixed whitespace errors and broke long lines; removed daemonization changes from main.c] --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 25478f810..2ca101720 100644 --- a/Makefile.am +++ b/Makefile.am @@ -489,6 +489,7 @@ endif if HAVE_PULSE OUTPUT_SRC += src/output/pulse_plugin.c +MIXER_SRC += src/mixer/pulse_mixer.c endif if HAVE_SHOUT -- cgit v1.2.3