1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 09:39:42 +02:00

Merge pull request #45 from spider-mario/ladspa-latency

Do not multiply the latency of LADSPA effects by two
This commit is contained in:
Leland Lucius 2015-08-01 12:01:51 -05:00
commit 6aa51fe3d9

View File

@ -896,7 +896,7 @@ sampleCount LadspaEffect::GetLatency()
if (mUseLatency && mLatencyPort >= 0 && !mLatencyDone)
{
mLatencyDone = true;
return mOutputControls[mLatencyPort] * 2;
return mOutputControls[mLatencyPort];
}
return 0;