1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-22 22:25:47 +01:00

2096: Windows & Mac high quality Change Pitch/Tempo preview

Problem:
Preview plays the original, and removes the selection.
This appears to have been caused by the commit: 0aad028

Fix: revert that commit. Note that in the #ifdef EXPERIMENTAL_SPECTRAL_EDITING code has not been reinstated.
I have not looked at why the commit caused the problem, just reverted it.
This commit is contained in:
David Bailes
2019-04-17 10:48:56 +01:00
parent 1866be6145
commit fe22b2ae22
5 changed files with 11 additions and 8 deletions

View File

@@ -1180,7 +1180,6 @@ bool Effect::DoEffect(wxWindow *parent,
mOutputTracks.reset();
mpSelectedRegion = selectedRegion;
mFactory = factory;
mProjectRate = projectRate;
mTracks = list;
@@ -1289,10 +1288,11 @@ bool Effect::DoEffect(wxWindow *parent,
return returnVal;
}
bool Effect::Delegate( Effect &delegate, wxWindow *parent, bool shouldPrompt)
bool Effect::Delegate( Effect &delegate,
wxWindow *parent, SelectedRegion *selectedRegion, bool shouldPrompt)
{
return delegate.DoEffect( parent, mProjectRate, mTracks, mFactory,
mpSelectedRegion, shouldPrompt );
selectedRegion, shouldPrompt );
}
// All legacy effects should have this overridden