1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-09 14:43:57 +01:00

Pass name of proxy effect to EffectSBSMS

Allows progress bar to show meaningful title when using SBSMS
time stretching in Change Pitch/Tempo.
This commit is contained in:
Steve Daulton
2016-08-16 14:54:02 +01:00
parent 19fa6d2833
commit 7b14e68b37
3 changed files with 10 additions and 0 deletions

View File

@@ -185,6 +185,7 @@ bool EffectChangePitch::Process()
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 proxy.DoEffect(mUIParent, mProjectRate, mTracks, mFactory, &region, false);