mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 06:03:49 +01:00
Migrating the remaining effects
This brings the builtin, LV2, and VAMP effects inline with the Audio Units, LADSPA, and VST effects. All effects now share a common UI. This gives all effects (though not implemented for all): User and factory preset capability Preset import/export capability Shared or private configuration options Builtin effects can now be migrated to RTP, depending on algorithm. LV2 effects now support graphical interfaces if the plugin supplies one. Nyquist prompt enhanced to provide some features of the Nyquist Workbench. It may not look like it, but this was a LOT of work, so trust me, there WILL be problems and everything effect related should be suspect. Keep a sharp eye (or two) open.
This commit is contained in:
@@ -605,8 +605,7 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
|
||||
|
||||
// Last effect applied to this project
|
||||
PluginID mLastEffect;
|
||||
int mLastEffectType;
|
||||
|
||||
|
||||
// The screenshot class needs to access internals
|
||||
friend class ScreenshotCommand;
|
||||
|
||||
@@ -626,7 +625,7 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
|
||||
typedef void (AudacityProject::*audCommandFunction)();
|
||||
typedef void (AudacityProject::*audCommandKeyFunction)(const wxEvent *);
|
||||
typedef void (AudacityProject::*audCommandListFunction)(int);
|
||||
typedef void (AudacityProject::*audCommandPluginFunction)(const PluginID &);
|
||||
typedef bool (AudacityProject::*audCommandPluginFunction)(const PluginID &, int);
|
||||
|
||||
// Previously this was in menus.cpp, and the declaration of the
|
||||
// command functor was not visible anywhere else.
|
||||
@@ -642,11 +641,6 @@ public:
|
||||
AudacityProjectCommandFunctor(AudacityProject *project,
|
||||
audCommandPluginFunction commandFunction,
|
||||
const PluginID & pluginID);
|
||||
#if defined(EFFECT_CATEGORIES)
|
||||
AudacityProjectCommandFunctor(AudacityProject *project,
|
||||
audCommandListFunction commandFunction,
|
||||
wxArrayInt explicitIndices);
|
||||
#endif
|
||||
|
||||
virtual void operator()(int index = 0, const wxEvent *evt = NULL);
|
||||
|
||||
@@ -657,9 +651,6 @@ private:
|
||||
audCommandListFunction mCommandListFunction;
|
||||
audCommandPluginFunction mCommandPluginFunction;
|
||||
PluginID mPluginID;
|
||||
#if defined(EFFECT_CATEGORIES)
|
||||
wxArrayInt mExplicitIndices;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user