diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-04-02 14:12:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-04-02 14:12:09 +0000 |
commit | ee725fbe915dfc81fb10a58045419566a917f206 (patch) | |
tree | e41c2d702e857b7d08fcb0c08e32e65b89e3bc9e /libs/ardour/audio_unit.cc | |
parent | 7d30cc243f304468e8bf46d51c19e7c92757ab6d (diff) |
more attempted cleanup of AU preset declarations
git-svn-id: svn://localhost/ardour2/branches/3.0@9263 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_unit.cc')
-rw-r--r-- | libs/ardour/audio_unit.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index babbfe20af..4d712e13f1 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -1658,8 +1658,10 @@ AUPlugin::set_state(const XMLNode& node, int version) } bool -AUPlugin::load_preset (const string& preset_label) +AUPlugin::load_preset (PluginRecord r) { + Plugin::load_preset (r); + #ifdef AU_STATE_SUPPORT bool ret = false; CFPropertyListRef propertyList; @@ -1719,7 +1721,7 @@ AUPlugin::load_preset (const string& preset_label) #endif } -bool +PresetRecord AUPlugin::save_preset (string preset_name) { #ifdef AU_STATE_SUPPORT |