summaryrefslogtreecommitdiff
path: root/doc/resampler.texi
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2017-03-13 20:33:03 +0700
committerMuhammad Faiz <mfcc64@gmail.com>2017-03-17 00:08:03 +0700
commit1f7eb216b085cfd4f18f328182cabe3f89093edd (patch)
tree29934dc59a0e2c5743908c4cd73767ec57216a91 /doc/resampler.texi
parenta3a408259912e6d9337837c5d63c4b826778530f (diff)
swresample/options: enable linear_interp and exact_rational by default
better quality without speedloss Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'doc/resampler.texi')
-rw-r--r--doc/resampler.texi5
1 files changed, 3 insertions, 2 deletions
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