Minor tidy

This commit is contained in:
Chris Cannam
2021-10-14 10:03:37 +01:00
parent e868ff32de
commit 674f44dcba
3 changed files with 5 additions and 6 deletions

View File

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

View File

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

View File

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