summaryrefslogtreecommitdiff
path: root/libs/ardour/lxvst_plugin.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-22 16:30:58 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-22 16:30:58 +0000
commit8e34ec7c0e8338c67fb3e6c4274fdc7589831bf5 (patch)
tree7ea1af5fd4d70ce586f5cebe73d7efdbce27a934 /libs/ardour/lxvst_plugin.cc
parentbef7b70e470aa8e3b589fd72c5cdac2b77fa7ada (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-xlibs/ardour/lxvst_plugin.cc4
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;