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/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/vst_plugin.cc')
-rw-r--r-- | libs/ardour/vst_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index b61ee4186c..be520ddc17 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -79,8 +79,8 @@ void VSTPlugin::open_plugin () { _plugin = _state->plugin; - assert (_plugin->user == this); // should have been set by {mac_vst|fst|lxvst}_instantiate - _plugin->user = this; + assert (_plugin->ptr1 == this); // should have been set by {mac_vst|fst|lxvst}_instantiate + _plugin->ptr1 = this; _state->plugin->dispatcher (_plugin, effOpen, 0, 0, 0, 0); _state->vst_version = _plugin->dispatcher (_plugin, effGetVstVersion, 0, 0, 0, 0); } |