38c7f5400869 — Chris Cannam 10 days ago
It appears this may be all we need - apparently the occasional odd extra sample (due to incremental rounding) added up and eventually overran the filter. I believe +1 is perfectly good here, but we can afford to be more accommodating just in case
1 files changed, 1 insertions(+), 1 deletions(-)

M src/dsp/Resampler.cpp
M src/dsp/Resampler.cpp +1 -1
@@ 613,7 613,7 @@ D_SRC::resample(const float *const R__ *
 
     std::cerr << "Resampler::process: at input sample " << n_in << ", output sample " << n_out << ", incount = " << incount << ", ratio = " << ratio << ", incount * ratio = " << incount * ratio << std::endl;
 
-    int outcount = lrintf(ceilf(incount * ratio));
+    int outcount = lrintf(ceilf(incount * ratio) + 10);
 
     if (m_channels == 1) {
         data.data_in = const_cast<float *>(*in); //!!!???