From 1f7eb216b085cfd4f18f328182cabe3f89093edd Mon Sep 17 00:00:00 2001 From: Muhammad Faiz Date: Mon, 13 Mar 2017 20:33:03 +0700 Subject: swresample/options: enable linear_interp and exact_rational by default better quality without speedloss Signed-off-by: Muhammad Faiz --- doc/resampler.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/resampler.texi') diff --git a/doc/resampler.texi b/doc/resampler.texi index d72677c915..5ed3f4377a 100644 --- a/doc/resampler.texi +++ b/doc/resampler.texi @@ -132,12 +132,13 @@ For swr only, set resampling phase shift, default value is 10, and must be in the interval [0,30]. @item linear_interp -Use linear interpolation if set to 1, default value is 0. +Use linear interpolation when enabled (the default). Disable it if you want +to preserve speed instead of quality when exact_rational fails. @item exact_rational For swr only, when enabled, try to use exact phase_count based on input and output sample rate. However, if it is larger than @code{1 << phase_shift}, -the phase_count will be @code{1 << phase_shift} as fallback. Default is disabled. +the phase_count will be @code{1 << phase_shift} as fallback. Default is enabled. @item cutoff Set cutoff frequency (swr: 6dB point; soxr: 0dB point) ratio; must be a float -- cgit v1.2.3