summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBruno Morais <brunosmmm@gmail.com>2019-06-06 16:48:23 +0200
committerLars-Dominik Braun <lars@6xq.net>2019-06-06 16:49:33 +0200
commit4594810abea6fa50643c0923a9ee9075e59922ce (patch)
treee9e60bbcd131192dcc3b5f6a0b40aa727c6f1173 /contrib
parentef051f835a6393bf3cdfc1ce76943f6db22751c4 (diff)
downloadpianobar-4594810abea6fa50643c0923a9ee9075e59922ce.tar.gz
pianobar-4594810abea6fa50643c0923a9ee9075e59922ce.tar.bz2
pianobar-4594810abea6fa50643c0923a9ee9075e59922ce.zip
Add audio resampling
Fixes #683
Diffstat (limited to 'contrib')
-rw-r--r--contrib/config-example1
-rw-r--r--contrib/pianobar.14
2 files changed, 5 insertions, 0 deletions
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
@@ -368,6 +368,10 @@ variable. Only "Basic" http authentication is supported.
.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
sorts by name from a to z, quickmix_01_name_za by type (quickmix at the