More reset tests, tighten up reset logic

This commit is contained in:
Chris Cannam
2023-03-22 13:26:15 +00:00
parent 5f93a90902
commit 6c71159593
4 changed files with 140 additions and 1 deletions

View File

@@ -533,6 +533,7 @@ void
R3Stretcher::reset()
{
m_calculator->reset();
if (m_resampler) {
m_resampler->reset();
}
@@ -545,6 +546,7 @@ R3Stretcher::reset()
cd->reset();
}
m_unityCount = 0;
m_studyInputDuration = 0;
m_suppliedInputDuration = 0;
m_totalTargetDuration = 0;