From 1d9bb9768f8a7d0c76fa33688051cd8f2715075d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 May 2012 06:09:44 +0000 Subject: 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 --- src/server/LV2Node.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/server/LV2Node.cpp') 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; } } } -- cgit v1.2.1