Toward further tests

This commit is contained in:
Chris Cannam
2022-06-24 18:05:32 +01:00
parent 512d855043
commit 5e726e79aa
2 changed files with 83 additions and 10 deletions

View File

@@ -378,8 +378,8 @@ R3Stretcher::getLatency() const
if (!isRealTime()) {
return 0;
} else {
double factor = m_pitchScale * 0.5;
return size_t(ceil(m_guideConfiguration.longestFftSize * factor));
return size_t(ceil(m_guideConfiguration.longestFftSize
* 0.5 * m_pitchScale));
}
}