diff options
author | Avuton Olrich <avuton@gmail.com> | 2007-02-02 03:51:07 +0000 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2007-02-02 03:51:07 +0000 |
commit | 79ef8ba2480eef73d5863945e270c539e7b4aac6 (patch) | |
tree | b94bfd1ebf394208ee0c5f4bfc9ad2008b00771f /doc | |
parent | 96c5976cccf61e0310879e69f51ba235e6b1729d (diff) | |
download | mpd-79ef8ba2480eef73d5863945e270c539e7b4aac6.tar.gz mpd-79ef8ba2480eef73d5863945e270c539e7b4aac6.tar.xz mpd-79ef8ba2480eef73d5863945e270c539e7b4aac6.zip |
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
Diffstat (limited to '')
-rw-r--r-- | doc/mpd.conf.5 | 29 | ||||
-rw-r--r-- | doc/mpdconf.example | 6 |
2 files changed, 35 insertions, 0 deletions
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 <yes or no> If yes, mpd will normalize the volume of songs as they play. Default is no. .TP +.B samplerate_converter <integer or prefix> +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 <size in KiB> 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 <integer or prefix> +# + ################################################################ |