From da7daddf453601a86c9b94c8c31da1fe4c76e89b Mon Sep 17 00:00:00 2001 From: Bruno Morais Date: Thu, 6 Jun 2019 16:54:11 +0200 Subject: Allow writing audio to a named pipe (fifo) instead of live device Fixes #684 --- contrib/config-example | 1 + contrib/pianobar.1 | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'contrib') 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 @@ -179,6 +179,12 @@ Replacement for %@ in station format string. It's " @ " by default. .B audio_quality = {high, medium, low} 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 -- cgit v1.2.3