From 79ef8ba2480eef73d5863945e270c539e7b4aac6 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Fri, 2 Feb 2007 03:51:07 +0000 Subject: Add libsamplerate support, old resampling is still an option, but this sounds much better for those who need it and don't want to use pulseaudio. Reviewed by shank/avuton. git-svn-id: https://svn.musicpd.org/mpd/trunk@5316 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- doc/mpd.conf.5 | 29 +++++++++++++++++++++++++++++ doc/mpdconf.example | 6 ++++++ 2 files changed, 35 insertions(+) (limited to 'doc') diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5 index 821500e8b..572738234 100644 --- a/doc/mpd.conf.5 +++ b/doc/mpd.conf.5 @@ -126,6 +126,35 @@ This is the gain (in dB) applied to songs with ReplayGain tags. .B volume_normalization If yes, mpd will normalize the volume of songs as they play. Default is no. .TP +.B samplerate_converter +Specifies the libsamplerate converter to use. +The supplied value should either be an integer or a prefix of the name of a converter. +The list of available converters at the time of writing is below. +More converters may exist, consult the +documentation of the Secret Rabbit Code libsamplerate (at http://www.mega-nerd.com/SRC/) for details. +.RS +.HP +Best Sinc Interpolator (0) + +Band limited sinc interpolation, best quality, 97dB SNR, 96% BW. +.HP +Medium Sinc Interpolator (1) + +Band limited sinc interpolation, medium quality, 97dB SNR, 90% BW. +.HP +Fastest Sinc Interpolator (2, default) + +Band limited sinc interpolation, fastest, 97dB SNR, 80% BW. +.HP +ZOH Interpolator (3) + +Zero order hold interpolator, very fast, very poor quality with audible distortions. +.HP +Linear Interpolator (4) + +Linear interpolator, very fast, poor quality. +.RE +.TP .B audio_buffer_size This specifies the size of the audio output buffer that mpd uses. The default is 2048. diff --git a/doc/mpdconf.example b/doc/mpdconf.example index c7a294214..20ab89ec4 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -123,6 +123,12 @@ error_file "~/.mpd/mpd.error" # #audio_output_format "44100:16:2" # +# Specifies the libsamplerate converter to use (if compiled in), +# see man 5 mpd.conf for more information. +# +#samplerate_converter +# + ################################################################ -- cgit v1.2.3