diff options
author | Robin Gareus <robin@gareus.org> | 2018-01-29 23:55:20 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-01-30 01:33:48 +0100 |
commit | b8491014a53e236255f5803fc876f848cfc82750 (patch) | |
tree | 346bbc463e0121f3866d2aa819e2761b1c621e70 /libs/ardour/ardour/ladspa_plugin.h | |
parent | 4d173d604896c80c99f7e4cdaa3908b55b0fdb81 (diff) |
Update plugin classification
* dedicated API for classes (effect, instrument, util)
* prepare for tags (rather than categories)
* prepare removal of per-plugin in_category() API
Diffstat (limited to 'libs/ardour/ardour/ladspa_plugin.h')
-rw-r--r-- | libs/ardour/ardour/ladspa_plugin.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/ardour/ladspa_plugin.h b/libs/ardour/ardour/ladspa_plugin.h index 0dca9bd5a6..97744abc34 100644 --- a/libs/ardour/ardour/ladspa_plugin.h +++ b/libs/ardour/ardour/ladspa_plugin.h @@ -151,6 +151,13 @@ class LIBARDOUR_API LadspaPluginInfo : public PluginInfo { LadspaPluginInfo (); ~LadspaPluginInfo () { }; + bool is_instrument () const { return false; } /* ladspa's are never instruments */ +#ifdef MIXBUS + /* for mixbus, relegate ladspa's to the Utils folder. */ + bool is_effect () const { return false; } + bool is_utility () const { return true; } +#endif + PluginPtr load (Session& session); std::vector<Plugin::PresetRecord> get_presets (bool user_only) const; }; |