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

@@ -404,6 +404,10 @@ StretchCalculator::reset()
{
m_prevDf = 0;
m_divergence = 0;
m_recovery = 0;
m_prevRatio = 1.0;
m_transientAmnesty = 0;
m_keyFrameMap.clear();
}
std::vector<StretchCalculator::Peak>