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/fst/vstwin.c | |
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/fst/vstwin.c')
-rw-r--r-- | libs/fst/vstwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index 065f50e954..b799d5179d 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -569,7 +569,7 @@ fst_instantiate (VSTHandle* fhandle, audioMasterCallback amc, void* userptr) } fst->handle = fhandle; - fst->plugin->user = userptr; + fst->plugin->ptr1 = userptr; if (fst->plugin->magic != kEffectMagic) { fst_error ("fst_instantiate: %s is not a vst plugin\n", fhandle->name); |