f585a7e68ae9 — Chris Cannam 2 months ago
Fix inexact resampler output at unity ratio
1 files changed, 1 insertions(+), 1 deletions(-)

M src/finer/R3LiveShifter.cpp
M src/finer/R3LiveShifter.cpp +1 -1
@@ 365,7 365,7 @@ R3LiveShifter::shift(const float *const 
         }
     }
     
-    int requiredInOutbuf = 1 + int(ceil(incount / outRatio));
+    int requiredInOutbuf = int(ceil(incount / outRatio));
     generate(requiredInOutbuf);
     
     int got = readOut(output, incount);