98d45498fddf — Chris Cannam 11 days ago
Minor tidy
3 files changed, 5 insertions(+), 6 deletions(-)

M README.md
M main/main.cpp
M src/StretcherImpl.cpp
M README.md +4 -4
@@ 200,10 200,10 @@ Meson:
 The options are documented in the library- and platform-specific
 sections below.
 
-Rubber Band Library is written entirely in C++ to the C++98
-standard. It is unlikely to make any difference (performance or
-otherwise) which C++ standard your compiler uses - as long as it's no
-older than C++98!
+Rubber Band Library is written entirely in C++ and requires a C++11
+compiler. It is unlikely to make any difference (performance or
+otherwise) which C++ standard you compile with, as long as it's no
+older than C++11.
 
 If you are building this software using either of the Speex or KissFFT
 library options, please be sure to review the terms for those

          
M main/main.cpp +1 -1
@@ 648,7 648,7 @@ int main(int argc, char **argv)
             int thisBlockSize = ibs;
 
             while (freqMapItr != freqMap.end()) {
-                size_t nextFreqFrame = freqMapItr->first; // + ts.getLatency();
+                size_t nextFreqFrame = freqMapItr->first;
                 if (nextFreqFrame <= countIn) {
                     double s = frequencyshift * freqMapItr->second;
                     if (debug > 0) {

          
M src/StretcherImpl.cpp +0 -1
@@ 874,7 874,6 @@ RubberBandStretcher::Impl::getLatency() 
 {
     if (!m_realtime) return 0;
     return lrint((m_aWindowSize/2) / m_pitchScale);
-//    return int(m_aWindowSize/2);
 }
 
 void