From 6201df44e0187cb0606aaf1b9858c099db2a93c6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Jun 2011 18:05:56 +0000 Subject: Remove dead code. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3385 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/InputPort.hpp | 2 +- src/server/LV2Node.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp index 0ecd5317..a5e81b6c 100644 --- a/src/server/InputPort.hpp +++ b/src/server/InputPort.hpp @@ -53,7 +53,7 @@ public: const Raul::Symbol& symbol, uint32_t index, uint32_t poly, - PortType type, + PortType type, const Raul::Atom& value, size_t buffer_size=0); diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp index c59a20f6..f6a80cb8 100644 --- a/src/server/LV2Node.cpp +++ b/src/server/LV2Node.cpp @@ -280,6 +280,7 @@ LV2Node::instantiate(BufferFactory& bufs) if (val.type() == Atom::NIL) val = isnan(def_values[j]) ? 0.0f : def_values[j]; + // TODO: set buffer size when necessary if (direction == INPUT) port = new InputPort(bufs, this, port_name, j, _polyphony, data_type, val); else -- cgit v1.2.1