pipe: new audio output plugin which runs a command

[mk: adapted to new output plugin API]
This commit is contained in:
Michal Nazarewicz
2009-02-28 16:11:59 +01:00
committed by Max Kellermann
parent 5ea8a0df3f
commit cabbf7ab4a
6 changed files with 142 additions and 0 deletions

View File

@@ -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 {