diff options
author | David Robillard <d@drobilla.net> | 2009-11-16 00:30:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-11-16 00:30:35 +0000 |
commit | 3d89115a67a9c947a28539ffdd2399808a53279b (patch) | |
tree | 826b900de3979eed9c31aae0d3ac560d39b53460 /src/engine/LV2Plugin.cpp | |
parent | 597fa9212f27d2448c0cdd20fbf616928c662cc1 (diff) | |
download | ingen-3d89115a67a9c947a28539ffdd2399808a53279b.tar.gz ingen-3d89115a67a9c947a28539ffdd2399808a53279b.tar.bz2 ingen-3d89115a67a9c947a28539ffdd2399808a53279b.zip |
Rework objects extension to have "value ports" and "message ports".
Make audio and control buffers in ingen actually object buffers (towards interop).
Overhaul the hell out of ingen buffer and mixing stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2266 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/LV2Plugin.cpp')
-rw-r--r-- | src/engine/LV2Plugin.cpp | 5 |
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; } |