aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_list.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-26 21:58:37 +0100
committerMax Kellermann <max@duempel.org>2008-10-26 21:58:37 +0100
commit0800c6f4ca36012b65e3cde825663adc1eafeae2 (patch)
tree5d0f24a02042c48a30d6b67920f77ef65e7e6215 /src/output_list.c
parent3dac99034afe14e61554f327329c11d32962ae04 (diff)
downloadmpd-0800c6f4ca36012b65e3cde825663adc1eafeae2.tar.gz
mpd-0800c6f4ca36012b65e3cde825663adc1eafeae2.tar.xz
mpd-0800c6f4ca36012b65e3cde825663adc1eafeae2.zip
output: don't compile plugins which are disabled
Don't compile the sources of disabled output plugins at all.
Diffstat (limited to 'src/output_list.c')
-rw-r--r--src/output_list.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/output_list.c b/src/output_list.c
index 7f597b687..c45227c4b 100644
--- a/src/output_list.c
+++ b/src/output_list.c
@@ -32,16 +32,34 @@ extern const struct audio_output_plugin mvpPlugin;
extern const struct audio_output_plugin jackPlugin;
const struct audio_output_plugin *audio_output_plugins[] = {
+#ifdef HAVE_SHOUT
&shoutPlugin,
+#endif
&nullPlugin,
+#ifdef HAVE_FIFO
&fifoPlugin,
+#endif
+#ifdef HAVE_ALSA
&alsaPlugin,
+#endif
+#ifdef HAVE_AO
&aoPlugin,
+#endif
+#ifdef HAVE_OSS
&ossPlugin,
+#endif
+#ifdef HAVE_OSX
&osxPlugin,
+#endif
+#ifdef HAVE_PULSE
&pulsePlugin,
+#endif
+#ifdef HAVE_MVP
&mvpPlugin,
+#endif
+#ifdef HAVE_JACK
&jackPlugin,
+#endif
NULL
};