diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-28 20:31:25 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-28 20:31:25 -0400 |
commit | 63b02a265a6d5e821198b5e3fcc1f6ba6d83a129 (patch) | |
tree | 0119b14bd45492dab27c670c0b21d163bef4899d /libs/ardour/lxvst_plugin.cc | |
parent | db34831b183d511d76ea1f29606e1933e5ad4caf (diff) |
Revert "fix LXVST support for plugins that make audioMaster callbacks from
within effOpen (e.g. glitch)"
This patch broke just about all other LVXST plugins. Glitch is doing something
wrong, or there is more magic about VST that we have yet to understand.
This reverts commit 56bc98f78bd3b1e5ba5c6ce902b2805d40a6cc53.
Diffstat (limited to 'libs/ardour/lxvst_plugin.cc')
-rwxr-xr-x | libs/ardour/lxvst_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/lxvst_plugin.cc b/libs/ardour/lxvst_plugin.cc index 80e6b9c286..6e30e0c443 100755 --- a/libs/ardour/lxvst_plugin.cc +++ b/libs/ardour/lxvst_plugin.cc @@ -32,7 +32,7 @@ LXVSTPlugin::LXVSTPlugin (AudioEngine& e, Session& session, VSTHandle* h) { /* Instantiate the plugin and return a VSTState* */ - if (vstfx_instantiate (_handle, Session::vst_callback, this) == 0) { + if ((_state = vstfx_instantiate (_handle, Session::vst_callback, this)) == 0) { throw failed_constructor(); } @@ -44,7 +44,7 @@ LXVSTPlugin::LXVSTPlugin (const LXVSTPlugin &other) { _handle = other._handle; - if (vstfx_instantiate (_handle, Session::vst_callback, this) == 0) { + if ((_state = vstfx_instantiate (_handle, Session::vst_callback, this)) == 0) { throw failed_constructor(); } _plugin = _state->plugin; |