Correct previous (wrong) tweak to delay

This commit is contained in:
Chris Cannam
2024-04-24 14:18:38 +01:00
parent e0df952e56
commit 47b2ff6698

View File

@@ -273,7 +273,7 @@ R3LiveShifter::getPreferredStartPad() const
size_t
R3LiveShifter::getStartDelay() const
{
int fixed = getWindowSourceSize() / 2 + m_resamplerDelay * 2 - 1;
int fixed = getWindowSourceSize() / 2 + m_resamplerDelay * 2;
int variable = getWindowSourceSize() / 2;
if (m_contractThenExpand) {
if (m_pitchScale < 1.0) {