9f533e0c9b6d — Chris Cannam 3 years ago
Fill out reset (thanks JF)
1 files changed, 2 insertions(+), 0 deletions(-)

M src/Resampler.cpp
M src/Resampler.cpp +2 -0
@@ 1225,6 1225,8 @@ D_Speex::doResample(const float *data_in
 void
 D_Speex::reset()
 {
+    m_lastratio = -1.0; // force reset of ratio
+    m_initial = true;
     speex_resampler_reset_mem(m_resampler);
 }