From 42ff18a22948cfd28a6c36bb2822608e616e2d3e Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Tue, 29 Sep 2020 11:04:18 +0100 Subject: [PATCH] Prefer libsamplerate at any performance setting, now we know it is better-behaved when changing rates --- src/dsp/Resampler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dsp/Resampler.cpp b/src/dsp/Resampler.cpp index 90ccdba..24429ae 100644 --- a/src/dsp/Resampler.cpp +++ b/src/dsp/Resampler.cpp @@ -1147,11 +1147,11 @@ Resampler::Resampler(Resampler::Quality quality, int channels, #ifdef HAVE_LIBRESAMPLE m_method = 3; #endif -#ifdef HAVE_LIBSAMPLERATE - m_method = 1; -#endif #ifdef USE_SPEEX m_method = 2; +#endif +#ifdef HAVE_LIBSAMPLERATE + m_method = 1; #endif break;