mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
Fix Nyquist Workbench
This is a very low impact change, so should not affect the release.
This commit is contained in:
parent
401c26f132
commit
408dcaca66
@ -690,7 +690,7 @@ NyqBench::NyqBench(wxWindow * parent)
|
|||||||
mOutput = NULL;
|
mOutput = NULL;
|
||||||
|
|
||||||
// No need to delete...EffectManager will do it
|
// No need to delete...EffectManager will do it
|
||||||
mEffect = new EffectNyquist(wxT("///nyquist worker///"));
|
mEffect = new EffectNyquist(wxT("===nyquistworker==="));
|
||||||
EffectManager::Get().RegisterEffect(mEffect, HIDDEN_EFFECT);
|
EffectManager::Get().RegisterEffect(mEffect, HIDDEN_EFFECT);
|
||||||
|
|
||||||
mPath = gPrefs->Read(wxT("NyqBench/Path"), wxEmptyString);
|
mPath = gPrefs->Read(wxT("NyqBench/Path"), wxEmptyString);
|
||||||
@ -1365,7 +1365,8 @@ void NyqBench::OnGo(wxCommandEvent & e)
|
|||||||
mRunning = true;
|
mRunning = true;
|
||||||
UpdateWindowUI();
|
UpdateWindowUI();
|
||||||
|
|
||||||
p->OnEffect(ALL_EFFECTS, mEffect->GetID());
|
const PluginID & id = EffectManager::Get().GetEffectByIdentifier(mEffect->GetSymbol());
|
||||||
|
p->OnEffect(ALL_EFFECTS, id);
|
||||||
|
|
||||||
mRunning = false;
|
mRunning = false;
|
||||||
UpdateWindowUI();
|
UpdateWindowUI();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user