summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
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