diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-08 18:13:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-08 18:13:42 +0200 |
commit | fd8053da9eaf5e97aaa978d971410d4f246c7138 (patch) | |
tree | 4f6f7612d4b7fb2aac7d7bc911858162ad3d42e7 /libs/ardour/mac_vst_plugin.cc | |
parent | 9a0ab26fbf31f8c2e4ccab325019f588fe8a9350 (diff) |
Don't use VST ->user points, prefer host-reserved ptr
Apparently "user" is for plugins (not hosts) to use.
Diffstat (limited to 'libs/ardour/mac_vst_plugin.cc')
-rw-r--r-- | libs/ardour/mac_vst_plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/mac_vst_plugin.cc b/libs/ardour/mac_vst_plugin.cc index 380620febb..0b52096e6a 100644 --- a/libs/ardour/mac_vst_plugin.cc +++ b/libs/ardour/mac_vst_plugin.cc @@ -126,7 +126,7 @@ MacVSTPluginInfo::get_presets (bool user_only) const Session::vst_current_loading_id = atoi (unique_id); AEffect* plugin = handle->main_entry (Session::vst_callback); Session::vst_current_loading_id = 0; - plugin->user = NULL; + plugin->ptr1 = NULL; plugin->dispatcher (plugin, effOpen, 0, 0, 0, 0); // :( int const vst_version = plugin->dispatcher (plugin, effGetVstVersion, 0, 0, NULL, 0); |