summaryrefslogtreecommitdiffstats
path: root/src/client/DeprecatedLoader.cpp
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/client/DeprecatedLoader.cpp
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/client/DeprecatedLoader.cpp')
-rw-r--r--src/client/DeprecatedLoader.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/DeprecatedLoader.cpp b/src/client/DeprecatedLoader.cpp
index 256b2947..a93fd96d 100644
--- a/src/client/DeprecatedLoader.cpp
+++ b/src/client/DeprecatedLoader.cpp
@@ -457,22 +457,22 @@ DeprecatedLoader::load_node(const Path& parent, xmlDocPtr doc, const xmlNodePtr
if (plugin_type == "Internal") {
// FIXME: indices
if (plugin_label == "audio_input") {
- _engine->new_port(path, 0, "lv2:AudioPort", false);
+ _engine->new_port(path, "lv2:AudioPort", 0, false);
is_port = true;
} else if (plugin_label == "audio_output") {
- _engine->new_port(path, 0, "lv2:AudioPort", true);
+ _engine->new_port(path, "lv2:AudioPort", 0, true);
is_port = true;
} else if (plugin_label == "control_input") {
- _engine->new_port(path, 0, "lv2:ControlPort", false);
+ _engine->new_port(path, "lv2:ControlPort", 0, false);
is_port = true;
} else if (plugin_label == "control_output" ) {
- _engine->new_port(path, 0, "lv2:ControlPort", true);
+ _engine->new_port(path, "lv2:ControlPort", 0, true);
is_port = true;
} else if (plugin_label == "midi_input") {
- _engine->new_port(path, 0, "ingen:EventPort", false);
+ _engine->new_port(path, "ingen:EventPort", 0, false);
is_port = true;
} else if (plugin_label == "midi_output" ) {
- _engine->new_port(path, 0, "ingen:EventPort", true);
+ _engine->new_port(path, "ingen:EventPort", 0, true);
is_port = true;
} else {
cerr << "WARNING: Unknown internal plugin label \"" << plugin_label << "\"" << endl;