aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_list.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2009-02-28 16:11:59 +0100
committerMax Kellermann <max@duempel.org>2009-02-28 16:11:59 +0100
commitcabbf7ab4a97e5f173b5fd4deb3fab4e66538586 (patch)
treefa91ee1ecc4e9a5914f2e7908cd4640d7c4425ac /src/output_list.c
parent5ea8a0df3ff159d1c9879b4a3a4c56ff34f0e43f (diff)
downloadmpd-cabbf7ab4a97e5f173b5fd4deb3fab4e66538586.tar.gz
mpd-cabbf7ab4a97e5f173b5fd4deb3fab4e66538586.tar.xz
mpd-cabbf7ab4a97e5f173b5fd4deb3fab4e66538586.zip
pipe: new audio output plugin which runs a command
[mk: adapted to new output plugin API]
Diffstat (limited to 'src/output_list.c')
-rw-r--r--src/output_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/output_list.c b/src/output_list.c
index efc337c03..937e9fd19 100644
--- a/src/output_list.c
+++ b/src/output_list.c
@@ -23,6 +23,7 @@
extern const struct audio_output_plugin shoutPlugin;
extern const struct audio_output_plugin null_output_plugin;
extern const struct audio_output_plugin fifo_output_plugin;
+extern const struct audio_output_plugin pipe_output_plugin;
extern const struct audio_output_plugin alsaPlugin;
extern const struct audio_output_plugin ao_output_plugin;
extern const struct audio_output_plugin oss_output_plugin;
@@ -39,6 +40,9 @@ const struct audio_output_plugin *audio_output_plugins[] = {
#ifdef HAVE_FIFO
&fifo_output_plugin,
#endif
+#ifdef ENABLE_PIPE_OUTPUT
+ &pipe_output_plugin,
+#endif
#ifdef HAVE_ALSA
&alsaPlugin,
#endif