Fixes to reset calls, thanks to Justin Frankel

This commit is contained in:
Chris Cannam
2017-09-26 09:51:22 +01:00
parent 51ef8a63ff
commit 5eb13cb947
4 changed files with 13 additions and 1 deletions

View File

@@ -242,7 +242,7 @@ RubberBandStretcher::Impl::reset()
m_emergencyScavenger.scavenge();
if (m_stretchCalculator) {
m_stretchCalculator->setKeyFrameMap(std::map<size_t, size_t>());
m_stretchCalculator->reset();
}
for (size_t c = 0; c < m_channels; ++c) {