1
0
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:
lllucius@gmail.com 2015-01-27 03:44:06 +00:00
parent 401c26f132
commit 408dcaca66

View File

@ -690,7 +690,7 @@ NyqBench::NyqBench(wxWindow * parent)
mOutput = NULL;
// 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);
mPath = gPrefs->Read(wxT("NyqBench/Path"), wxEmptyString);
@ -1365,7 +1365,8 @@ void NyqBench::OnGo(wxCommandEvent & e)
mRunning = true;
UpdateWindowUI();
p->OnEffect(ALL_EFFECTS, mEffect->GetID());
const PluginID & id = EffectManager::Get().GetEffectByIdentifier(mEffect->GetSymbol());
p->OnEffect(ALL_EFFECTS, id);
mRunning = false;
UpdateWindowUI();