Fix failure to resize buffer on reconfigure - thanks to Michael Tyson
This commit is contained in:
@@ -832,6 +832,10 @@ RubberBandStretcher::Impl::reconfigure()
|
|||||||
|
|
||||||
if (m_fftSize != prevFftSize) {
|
if (m_fftSize != prevFftSize) {
|
||||||
m_phaseResetAudioCurve->setFftSize(m_fftSize);
|
m_phaseResetAudioCurve->setFftSize(m_fftSize);
|
||||||
|
m_silentAudioCurve->setFftSize(m_fftSize);
|
||||||
|
if (m_stretchAudioCurve) {
|
||||||
|
m_stretchAudioCurve->setFftSize(m_fftSize);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user