summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBruno Morais <brunosmmm@gmail.com>2019-06-06 16:54:11 +0200
committerLars-Dominik Braun <lars@6xq.net>2019-06-06 16:54:11 +0200
commitda7daddf453601a86c9b94c8c31da1fe4c76e89b (patch)
tree56006f75a4aca8a3ea47e1227d25ab4ff9f34326 /contrib
parent4594810abea6fa50643c0923a9ee9075e59922ce (diff)
downloadpianobar-da7daddf453601a86c9b94c8c31da1fe4c76e89b.tar.gz
pianobar-da7daddf453601a86c9b94c8c31da1fe4c76e89b.tar.bz2
pianobar-da7daddf453601a86c9b94c8c31da1fe4c76e89b.zip
Allow writing audio to a named pipe (fifo) instead of live device
Fixes #684
Diffstat (limited to 'contrib')
-rw-r--r--contrib/config-example1
-rw-r--r--contrib/pianobar.16
2 files changed, 7 insertions, 0 deletions
diff --git a/contrib/config-example b/contrib/config-example
index 275659f..d6186c4 100644
--- a/contrib/config-example
+++ b/contrib/config-example
@@ -50,6 +50,7 @@
#ca_bundle = /etc/ssl/certs/ca-certificates.crt
#gain_mul = 1.0
#sample_rate = 44100
+#audio_pipe = /tmp/mypipe
# Format strings
#format_nowplaying_song = %t by %a on %l%r%@%s
diff --git a/contrib/pianobar.1 b/contrib/pianobar.1
index 196bbb2..0cdf6c8 100644
--- a/contrib/pianobar.1
+++ b/contrib/pianobar.1
@@ -180,6 +180,12 @@ Replacement for %@ in station format string. It's " @ " by default.
Select audio quality.
.TP
+.B audio_pipe = /path/to/fifo
+Stream decoded, raw audio samples to a pipe instead of the default audio device. Use
+.B sample_rate
+to enforce a fixed sample rate.
+
+.TP
.B autoselect = {1,0}
Auto-select last remaining item of filtered list. Currently enabled for station
selection only.