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/linux_vst_support.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/linux_vst_support.cc')
-rw-r--r-- | libs/ardour/linux_vst_support.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/linux_vst_support.cc b/libs/ardour/linux_vst_support.cc index 44d61f7a77..498cbc8339 100644 --- a/libs/ardour/linux_vst_support.cc +++ b/libs/ardour/linux_vst_support.cc @@ -297,7 +297,7 @@ vstfx_instantiate (VSTHandle* fhandle, audioMasterCallback amc, void* userptr) } vstfx->handle = fhandle; - vstfx->plugin->user = userptr; + vstfx->plugin->ptr1 = userptr; if (vstfx->plugin->magic != kEffectMagic) { |