diff options
author | Bruno Morais <brunosmmm@gmail.com> | 2019-06-06 16:54:11 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2019-06-06 16:54:11 +0200 |
commit | da7daddf453601a86c9b94c8c31da1fe4c76e89b (patch) | |
tree | 56006f75a4aca8a3ea47e1227d25ab4ff9f34326 /contrib | |
parent | 4594810abea6fa50643c0923a9ee9075e59922ce (diff) | |
download | pianobar-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-example | 1 | ||||
-rw-r--r-- | contrib/pianobar.1 | 6 |
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 = [32m%t[0m by [34m%a[0m on %l[31m%r[0m%@%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. |