summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Node.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-12 06:09:44 +0000
committerDavid Robillard <d@drobilla.net>2012-05-12 06:09:44 +0000
commit1d9bb9768f8a7d0c76fa33688051cd8f2715075d (patch)
tree45aa6f6235fb6d2c4227081eeb7c938db255aab5 /src/server/LV2Node.cpp
parenta53738e05b296b4ab4e0b701ea37d60013a42605 (diff)
downloadingen-1d9bb9768f8a7d0c76fa33688051cd8f2715075d.tar.gz
ingen-1d9bb9768f8a7d0c76fa33688051cd8f2715075d.tar.bz2
ingen-1d9bb9768f8a7d0c76fa33688051cd8f2715075d.zip
Use compiler checkable ProcessContext parameter rather than runtime context assertions.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4374 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/LV2Node.cpp')
-rw-r--r--src/server/LV2Node.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp
index 40e13520..516441f0 100644
--- a/src/server/LV2Node.cpp
+++ b/src/server/LV2Node.cpp
@@ -113,7 +113,7 @@ LV2Node::prepare_poly(BufferFactory& bufs, uint32_t poly)
}
bool
-LV2Node::apply_poly(Raul::Maid& maid, uint32_t poly)
+LV2Node::apply_poly(ProcessContext& context, Raul::Maid& maid, uint32_t poly)
{
if (!_polyphonic)
poly = 1;
@@ -125,7 +125,7 @@ LV2Node::apply_poly(Raul::Maid& maid, uint32_t poly)
}
assert(poly <= _instances->size());
- return NodeImpl::apply_poly(maid, poly);
+ return NodeImpl::apply_poly(context, maid, poly);
}
/** Instantiate self from LV2 plugin descriptor.
@@ -274,6 +274,8 @@ LV2Node::instantiate(BufferFactory& bufs)
if (lilv_node_is_int(d)) {
size_t size_val = lilv_node_as_int(d);
port_buffer_size = size_val;
+ Raul::info << "Atom port " << path() << " buffer size "
+ << port_buffer_size << std::endl;
}
}
}