Use the appropriate parameters

This commit is contained in:
Chris Cannam
2021-05-11 17:20:12 +01:00
parent f6a66171bc
commit b7770c8832

View File

@@ -674,6 +674,8 @@ RubberBandStretcher::Impl::configure()
Resampler::Parameters params;
params.quality = Resampler::FastestTolerable;
params.dynamism = Resampler::RatioOftenChanging;
params.ratioChange = Resampler::SmoothRatioChange;
params.maxBufferSize = 4096 * 16;
params.debugLevel = m_debugLevel;
@@ -818,6 +820,8 @@ RubberBandStretcher::Impl::reconfigure()
Resampler::Parameters params;
params.quality = Resampler::FastestTolerable;
params.dynamism = Resampler::RatioOftenChanging;
params.ratioChange = Resampler::SmoothRatioChange;
params.maxBufferSize = m_sWindowSize;
params.debugLevel = m_debugLevel;