1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-22 22:21:24 +01:00

Fix for bug 955 from Clayton Otey

This commit is contained in:
Steve Daulton
2016-01-26 18:19:19 +00:00
parent f7fba31319
commit 954bb0fd1c
8 changed files with 146 additions and 12 deletions

View File

@@ -663,7 +663,8 @@ long SBSMSImp :: write(SBSMSInterface *iface)
long nWrite = 0;
float t = getInputTime(iface);
float stretch = iface->getStretch(t);
float t1 = (float)(nSamplesInputed + quality->getFrameSize()) / (float)iface->getSamplesToInput();
float stretch = iface->getMeanStretch(t,t1);
float pitch = iface->getPitch(t);
long nPresamples = iface->getPresamples();