mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-16 09:31:14 +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:
@@ -45,7 +45,7 @@ public:
|
||||
PluginDescriptor();
|
||||
virtual ~PluginDescriptor();
|
||||
|
||||
bool IsInstantiated();
|
||||
bool IsInstantiated() const;
|
||||
IdentInterface *GetInstance();
|
||||
void SetInstance(IdentInterface *instance);
|
||||
|
||||
@@ -173,14 +173,14 @@ public:
|
||||
|
||||
// PluginManagerInterface implementation
|
||||
|
||||
const PluginID & RegisterModulePlugin(ModuleInterface *module);
|
||||
const PluginID & RegisterEffectPlugin(ModuleInterface *provider, EffectIdentInterface *effect);
|
||||
const PluginID & RegisterImporterPlugin(ModuleInterface *provider, ImporterInterface *importer);
|
||||
virtual const PluginID & RegisterPlugin(ModuleInterface *module);
|
||||
virtual const PluginID & RegisterPlugin(ModuleInterface *provider, EffectIdentInterface *effect);
|
||||
virtual const PluginID & RegisterPlugin(ModuleInterface *provider, ImporterInterface *importer);
|
||||
|
||||
void FindFilesInPathList(const wxString & pattern,
|
||||
const wxArrayString & pathList,
|
||||
wxArrayString & files,
|
||||
bool directories = false);
|
||||
virtual void FindFilesInPathList(const wxString & pattern,
|
||||
const wxArrayString & pathList,
|
||||
wxArrayString & files,
|
||||
bool directories = false);
|
||||
|
||||
virtual bool GetSharedConfigSubgroups(const PluginID & ID, const wxString & group, wxArrayString & subgroups);
|
||||
|
||||
@@ -256,8 +256,8 @@ public:
|
||||
IdentInterface *GetInstance(const PluginID & ID);
|
||||
void SetInstance(const PluginID & ID, IdentInterface *instance); // TODO: Remove after conversion
|
||||
|
||||
//
|
||||
const PluginID & RegisterLegacyEffectPlugin(EffectIdentInterface *effect);
|
||||
// For builtin effects
|
||||
const PluginID & RegisterPlugin(EffectIdentInterface *effect);
|
||||
|
||||
private:
|
||||
void Load();
|
||||
@@ -289,7 +289,7 @@ private:
|
||||
bool SetConfig(const wxString & key, const double & value);
|
||||
bool SetConfig(const wxString & key, const sampleCount & value);
|
||||
|
||||
wxString SettingsID(const PluginID & ID);
|
||||
wxString SettingsPath(const PluginID & ID, bool shared);
|
||||
wxString SharedGroup(const PluginID & ID, const wxString & group);
|
||||
wxString SharedKey(const PluginID & ID, const wxString & group, const wxString & key);
|
||||
wxString PrivateGroup(const PluginID & ID, const wxString & group);
|
||||
|
||||
Reference in New Issue
Block a user