aboutsummaryrefslogtreecommitdiffstats
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/mpdconf.example13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index 5b19c028c..f7816e4ae 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -207,6 +207,19 @@ log_file "~/.mpd/log"
# sink "remote_server_sink"
#}
#
+## Example "pipe" output:
+#
+#audio_output {
+# type "pipe"
+# name "my pipe"
+# command "aplay -f cd 2>/dev/null"
+## Or if you're want to use AudioCompress
+# command "AudioCompress -m | aplay -f cd 2>/dev/null"
+## Or to send raw PCM stream through PCM:
+# command "nc example.org 8765"
+# format "44100:16:2"
+#}
+#
## An example of a null output (for no audio output):
#
#audio_output {