summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialisation')
-rw-r--r--src/serialisation/Parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index 73f55074..00034554 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -399,7 +399,7 @@ Parser::parse_patch(
if (created.find(port_path) == created.end()) {
bool is_output = (type == "lv2:OutputPort"); // FIXME: check validity
// FIXME: read index
- target->new_port(port_path, 0, datatype, is_output);
+ target->new_port(port_path, datatype, 0, is_output);
created.insert(port_path);
}
@@ -499,7 +499,7 @@ Parser::parse_port(
bool is_output = (type == "lv2:OutputPort");
// FIXME: read index
- target->new_port(path, 0, datatype, is_output);
+ target->new_port(path, datatype, 0, is_output);
const Redland::Node& val_node = (*i)["value"];
if (val_node.to_string() != "")