diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-26 01:04:43 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-26 01:04:43 +0200 |
commit | cf6f9627e4bc8e3bc9997e26375a13b3956faa87 (patch) | |
tree | 08de6392e13e145e8e523558f3a30e89d95a06d4 /libs/ardour/vst_plugin.cc | |
parent | 1d48648a734423d2a1b1689efaa32e7f6452c5ea (diff) |
update VST audioMasterGetTime
* don't use a static struct. this fixes a concurrency issue with flags
and valid values
* send kVstTransportChanged IFF there is an actual change
* set system time
* send loop location
Diffstat (limited to 'libs/ardour/vst_plugin.cc')
-rw-r--r-- | libs/ardour/vst_plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index 9782c70ab7..3b7f9776d0 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -47,7 +47,7 @@ VSTPlugin::VSTPlugin (AudioEngine& engine, Session& session, VSTHandle* handle) , _pi (0) , _num (0) { - + memset (&_timeInfo, 0, sizeof(_timeInfo)); } VSTPlugin::~VSTPlugin () |