From 4594810abea6fa50643c0923a9ee9075e59922ce Mon Sep 17 00:00:00 2001 From: Bruno Morais Date: Thu, 6 Jun 2019 16:48:23 +0200 Subject: Add audio resampling Fixes #683 --- contrib/config-example | 1 + contrib/pianobar.1 | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'contrib') diff --git a/contrib/config-example b/contrib/config-example index 0229595..275659f 100644 --- a/contrib/config-example +++ b/contrib/config-example @@ -49,6 +49,7 @@ #volume = 0 #ca_bundle = /etc/ssl/certs/ca-certificates.crt #gain_mul = 1.0 +#sample_rate = 44100 # Format strings #format_nowplaying_song = %t by %a on %l%r%@%s diff --git a/contrib/pianobar.1 b/contrib/pianobar.1 index 7462030..196bbb2 100644 --- a/contrib/pianobar.1 +++ b/contrib/pianobar.1 @@ -367,6 +367,10 @@ variable. Only "Basic" http authentication is supported. .TP .B rpc_tls_port = 443 +.TP +.B sample_rate = 0 +Force fixed output sample rate. The default, 0, uses the stream’s sample rate. + .TP .B sort = {name_az, name_za, quickmix_01_name_az, quickmix_01_name_za, quickmix_10_name_az, quickmix_10_name_za} Sort station list by name or type (is quickmix) and name. name_az for example -- cgit v1.2.3