diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-22 16:30:58 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-22 16:30:58 +0000 |
commit | 8e34ec7c0e8338c67fb3e6c4274fdc7589831bf5 (patch) | |
tree | 7ea1af5fd4d70ce586f5cebe73d7efdbce27a934 /libs/ardour/lxvst_plugin.cc | |
parent | bef7b70e470aa8e3b589fd72c5cdac2b77fa7ada (diff) |
Use same VST callback for both Linux and Windows VSTs.
git-svn-id: svn://localhost/ardour2/branches/3.0@10775 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 90c2c70b50..f14d052fd4 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 ((_state = vstfx_instantiate (_handle, Session::lxvst_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 ((_state = vstfx_instantiate (_handle, Session::lxvst_callback, this)) == 0) { + if ((_state = vstfx_instantiate (_handle, Session::vst_callback, this)) == 0) { throw failed_constructor(); } _plugin = _state->plugin; |