mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-20 21:21:25 +01:00
Simplify calls to Effect::Delegate
This commit is contained in:
@@ -187,12 +187,11 @@ bool EffectChangePitch::Process()
|
||||
if (mUseSBSMS)
|
||||
{
|
||||
double pitchRatio = 1.0 + m_dPercentChange / 100.0;
|
||||
SelectedRegion region(mT0, mT1);
|
||||
EffectSBSMS proxy;
|
||||
proxy.mProxyEffectName = XO("High Quality Pitch Change");
|
||||
proxy.setParameters(1.0, pitchRatio);
|
||||
|
||||
return Delegate(proxy, mUIParent, ®ion, false);
|
||||
return Delegate(proxy, mUIParent, false);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user