da8487b603f5 — Chris Cannam 24 days ago
Pull in multi-channel resampler fix (not directly relevant to RB)
1 files changed, 3 insertions(+), 1 deletions(-)

M src/dsp/BQResampler.cpp
M src/dsp/BQResampler.cpp +3 -1
@@ 590,7 590,9 @@ BQResampler::reconstruct_one(state *s) c
     int phase_length = pr.length;
     double result = 0.0;
 
-    int dot_length = min(phase_length, int(s->buffer.size()) - s->left);
+    int dot_length =
+        min(phase_length,
+            (int(s->buffer.size()) - s->left) / m_channels);
 
     if (m_dynamism == RatioMostlyFixed) {
         int phase_start = pr.start_index;