Rename and reorder mode options; drop support for long window

This commit is contained in:
Chris Cannam
2024-05-03 17:52:14 +01:00
parent 3a95b94087
commit 9998c26ea3
7 changed files with 36 additions and 53 deletions

View File

@@ -593,7 +593,6 @@ RubberBandR3PitchShifter::runImpl(uint32_t insamples, uint32_t offset)
const int samples = insamples;
int processed = 0;
size_t outTotal = 0;
while (processed < samples) {
@@ -622,7 +621,6 @@ RubberBandR3PitchShifter::runImpl(uint32_t insamples, uint32_t offset)
}
size_t actual = m_stretcher->retrieve(m_scratch, outchunk);
outTotal += actual;
for (size_t c = 0; c < m_channels; ++c) {
m_outputBuffer[c]->write(m_scratch[c], actual);