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/lxvst_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/lxvst_plugin.cc') diff --git a/libs/ardour/lxvst_plugin.cc b/libs/ardour/lxvst_plugin.cc index dd7b1b4831..62fff3f8b8 100644 --- a/libs/ardour/lxvst_plugin.cc +++ b/libs/ardour/lxvst_plugin.cc @@ -119,7 +119,7 @@ LXVSTPluginInfo::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