This commit is contained in:
Chris Cannam
2007-11-08 15:02:47 +00:00
parent a8ef8ea887
commit 1d7dbbdb05
3 changed files with 33 additions and 3 deletions

View File

@@ -567,7 +567,15 @@ RubberBandStretcher::Impl::modifyChunk(size_t channel, size_t outputIncrement,
pp = cd.freqPeak[i-1];
}
if (!lock) {
bool lockThis = lock;
/*!!!
size_t low = lrint((150 * m_blockSize) / rate);
size_t high = lrint((1000 * m_blockSize) / rate);
if (lockThis) {
if (i > low && i < high) lockThis = false;
}
*/
if (!lockThis) {
if (i == 0 || p != pp) {