summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-11 18:05:56 +0000
committerDavid Robillard <d@drobilla.net>2011-06-11 18:05:56 +0000
commit6201df44e0187cb0606aaf1b9858c099db2a93c6 (patch)
tree15ee10e09967fbc9d85b7503ca306c812ac2bace /src/server
parent15611d1f9d7a6aba34b70ccaf63f564d565b55f3 (diff)
downloadingen-6201df44e0187cb0606aaf1b9858c099db2a93c6.tar.gz
ingen-6201df44e0187cb0606aaf1b9858c099db2a93c6.tar.bz2
ingen-6201df44e0187cb0606aaf1b9858c099db2a93c6.zip
Remove dead code.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3385 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/InputPort.hpp2
-rw-r--r--src/server/LV2Node.cpp1
2 files changed, 2 insertions, 1 deletions
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