/********************************************************************** Audacity: A Digital Audio Editor LoadNyquist.cpp Dominic Mazzoni **********************************************************************/ #include #include #include #include #include #include "../../Audacity.h" #include "../../AudacityApp.h" #include "../EffectManager.h" #include "Nyquist.h" void LoadNyquistEffect(wxString fname) { EffectNyquist *effect = new EffectNyquist(fname); if (effect->LoadedNyFile()) EffectManager::Get().RegisterEffect(effect); else delete effect; } void LoadNyquistPlugins() { wxArrayString audacityPathList = wxGetApp().audacityPathList; wxArrayString pathList; wxArrayString files; unsigned int i; // Create one "interactive Nyquist" EffectNyquist *effect = new EffectNyquist(wxT("")); EffectManager::Get().RegisterEffect(effect); // Load .ny plug-ins for(i=0; i