summaryrefslogtreecommitdiffstats
path: root/src/engine/LV2Plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/LV2Plugin.cpp')
-rw-r--r--src/engine/LV2Plugin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/engine/LV2Plugin.cpp b/src/engine/LV2Plugin.cpp
index 7b289c32..3f3e25c2 100644
--- a/src/engine/LV2Plugin.cpp
+++ b/src/engine/LV2Plugin.cpp
@@ -60,7 +60,8 @@ LV2Plugin::symbol() const
NodeImpl*
-LV2Plugin::instantiate(const string& name,
+LV2Plugin::instantiate(BufferFactory& bufs,
+ const string& name,
bool polyphonic,
Ingen::PatchImpl* parent,
Engine& engine)
@@ -73,7 +74,7 @@ LV2Plugin::instantiate(const string& name,
Glib::Mutex::Lock lock(engine.world()->rdf_world->mutex());
LV2Node* n = new LV2Node(this, name, polyphonic, parent, srate, buffer_size);
- if ( ! n->instantiate() ) {
+ if ( ! n->instantiate(bufs) ) {
delete n;
n = NULL;
}