summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-10 21:00:50 +0000
committerDavid Robillard <d@drobilla.net>2008-11-10 21:00:50 +0000
commit1423712f8e91dffde60c07d32b4de878bdcd3eae (patch)
treee83d7a8e3840a476bf7ac2cdb4252656f08b0133 /src/serialisation
parentfb76b922a4d3b0f7e49ea1dcb21fec0c3a236b3f (diff)
downloadingen-1423712f8e91dffde60c07d32b4de878bdcd3eae.tar.gz
ingen-1423712f8e91dffde60c07d32b4de878bdcd3eae.tar.bz2
ingen-1423712f8e91dffde60c07d32b4de878bdcd3eae.zip
Turn off OSC debug dumping in engine.
Shuffle new_port parameters to make more sense for no particular reason. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1715 a436a847-0d15-0410-975c-d299462d15a1
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() != "")