summaryrefslogtreecommitdiff
path: root/libs/ardour/lxvst_plugin.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-01-13 11:29:10 +0100
committerRobin Gareus <robin@gareus.org>2017-01-13 11:29:30 +0100
commit126dd02c8534c825e92e41a94b031df3a49d00f0 (patch)
tree6b807d4473adafaeef9ec4eb91dcd17bc2d03918 /libs/ardour/lxvst_plugin.cc
parent38e47c2f5fdca532ebf5edfabda6ec1db0898f20 (diff)
Set rate and blocksize for multi-instance VSTs
Diffstat (limited to 'libs/ardour/lxvst_plugin.cc')
-rw-r--r--libs/ardour/lxvst_plugin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/lxvst_plugin.cc b/libs/ardour/lxvst_plugin.cc
index 91ae757883..b71f9fa378 100644
--- a/libs/ardour/lxvst_plugin.cc
+++ b/libs/ardour/lxvst_plugin.cc
@@ -63,6 +63,8 @@ LXVSTPlugin::LXVSTPlugin (const LXVSTPlugin &other)
other.add_state (root);
set_state (*root, Stateful::loading_state_version);
delete root;
+
+ set_plugin (_state->plugin);
}
LXVSTPlugin::~LXVSTPlugin ()