798ebcb42b6b — Chris Cannam 3 months ago
Fix failure to resize buffer on reconfigure - thanks to Michael Tyson
1 files changed, 4 insertions(+), 0 deletions(-)

M src/StretcherImpl.cpp
M src/StretcherImpl.cpp +4 -0
@@ 832,6 832,10 @@ RubberBandStretcher::Impl::reconfigure()
 
     if (m_fftSize != prevFftSize) {
         m_phaseResetAudioCurve->setFftSize(m_fftSize);
+        m_silentAudioCurve->setFftSize(m_fftSize);
+        if (m_stretchAudioCurve) {
+            m_stretchAudioCurve->setFftSize(m_fftSize);
+        }
     }
 }