From fd8053da9eaf5e97aaa978d971410d4f246c7138 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 8 Jul 2017 18:13:42 +0200 Subject: Don't use VST ->user points, prefer host-reserved ptr Apparently "user" is for plugins (not hosts) to use. --- libs/ardour/mac_vst_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/mac_vst_plugin.cc') 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); -- cgit v1.2.3