diff options
author | Robin Gareus <robin@gareus.org> | 2017-03-06 23:49:40 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-03-07 00:13:56 +0100 |
commit | e1095310a8186bbd977534285df0ab29423d3aa3 (patch) | |
tree | eae28a2a01773762ae77bf7b12c1270df7d468cb /libs/ardour/ardour/mac_vst_plugin.h | |
parent | 589c13c0eb9f6003a7e8cf923110459c897ea4b0 (diff) |
Rework VST initialization:
Set the AEffect* plugin pointer before calling effOpen.
effOpen may call back into the host (masterCallback) and invoke
actions which depend on _plugin (eg. to call back into the plugin again)
Diffstat (limited to 'libs/ardour/ardour/mac_vst_plugin.h')
-rw-r--r-- | libs/ardour/ardour/mac_vst_plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/mac_vst_plugin.h b/libs/ardour/ardour/mac_vst_plugin.h index e5afab5e30..4eb4e41300 100644 --- a/libs/ardour/ardour/mac_vst_plugin.h +++ b/libs/ardour/ardour/mac_vst_plugin.h @@ -38,6 +38,8 @@ public: ~MacVSTPlugin (); std::string state_node_name () const { return "mac-vst"; } +protected: + void open_plugin (); }; class LIBARDOUR_API MacVSTPluginInfo : public PluginInfo |