From cabbf7ab4a97e5f173b5fd4deb3fab4e66538586 Mon Sep 17 00:00:00 2001 From: Michal Nazarewicz Date: Sat, 28 Feb 2009 16:11:59 +0100 Subject: pipe: new audio output plugin which runs a command [mk: adapted to new output plugin API] --- doc/mpdconf.example | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') 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 { -- cgit v1.2.3