diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-19 16:02:24 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-06-19 16:02:24 +0000 |
commit | 1df227424a651f3835f2e13b0cee7baa69d470ee (patch) | |
tree | caac3b6c0c4f0a7ee0ee8b4f900cd451baad589f /libs/ardour/ardour/plugin.h | |
parent | 7a24e49fa07a363f677b89613e0e281cceef2804 (diff) |
patch from colinf that adds an 'empty' preset to the preset drop-down list, so that plugins can be set back to the 'no preset' state rather than being stuck in the state of 'preset loaded and modified'. This should apply to all plugin types, though I've only tried it on LV2 and LADSPA.
git-svn-id: svn://localhost/ardour2/branches/3.0@12787 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index 15e5f4a9c5..bf91de903b 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -183,6 +183,7 @@ class Plugin : public PBD::StatefulDestructible, public Latent void remove_preset (std::string); virtual bool load_preset (PresetRecord); + void clear_preset (); const PresetRecord * preset_by_label (const std::string &); const PresetRecord * preset_by_uri (const std::string &); |