aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorDavid Guibert <david.guibert@gmail.com>2009-03-06 18:21:23 +0100
committerMax Kellermann <max@duempel.org>2009-03-07 15:59:20 +0100
commit21bb10f4bf6708f4786821eff470cd0c59d04b00 (patch)
treed8956e5b7312eef352583e886691ef8ea9cffc55 /Makefile.am
parenta547d24eb23dafd9f26af781e6fb147c433464b2 (diff)
downloadmpd-21bb10f4bf6708f4786821eff470cd0c59d04b00.tar.gz
mpd-21bb10f4bf6708f4786821eff470cd0c59d04b00.tar.xz
mpd-21bb10f4bf6708f4786821eff470cd0c59d04b00.zip
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 <patnathanael@gmail.com> Signed-off-by: David Guibert <david.guibert@gmail.com> [mk: fixed whitespace errors and broke long lines; removed daemonization changes from main.c]
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
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