From 62dc0ad6c33ce2be6b36dcdfc0bfef21f7681960 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Wed, 14 Jan 2015 22:22:04 +0300 Subject: Added documentation for soxr resampling methods. --- man/pulse-daemon.conf.5.xml.in | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in index d37de25c7..07be109cf 100644 --- a/man/pulse-daemon.conf.5.xml.in +++ b/man/pulse-daemon.conf.5.xml.in @@ -86,7 +86,8 @@ License along with PulseAudio; if not, see . src-sinc-medium-quality, src-sinc-fastest, src-zero-order-hold, src-linear, trivial, speex-float-N, - speex-fixed-N, ffmpeg. See the + speex-fixed-N, ffmpeg, soxr-mq, + soxr-hq, soxr-vhq. See the documentation of libsamplerate and speex for explanations of the different src- and speex- methods, respectively. The method trivial is the most basic algorithm implemented. If @@ -96,8 +97,15 @@ License along with PulseAudio; if not, see . exist in two flavours: fixed and float. The former uses fixed point numbers, the latter relies on floating point numbers. On most desktop CPUs the float point resampler is a lot faster, and it - also offers slightly better quality. See the output of - dump-resample-methods for a complete list of all + also offers slightly better quality. The soxr-family methods + are based on libsoxr, a resampler library from the SoX sound processing utility. + The mq variant has the best performance of the three. The hq is more expensive + and, according to SoX developers, is considered the best choice for audio of up to 16 bits per sample. + The vhq variant has more precision than hq and is more suitable for larger samples. The Soxr resamplers + generally offer better quality at less CPU compared to other resamplers, such as speex. + The downside is that they can add a significant delay to the output + (usually up to around 20 ms, in rare cases more). + See the output of dump-resample-methods for a complete list of all available resamplers. Defaults to speex-float-1. The --resample-method command line option takes precedence. Note that some modules overwrite or allow overwriting of the -- cgit v1.2.1