From 1423712f8e91dffde60c07d32b4de878bdcd3eae Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Nov 2008 21:00:50 +0000 Subject: 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 --- src/client/DeprecatedLoader.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/client/DeprecatedLoader.cpp') 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; -- cgit v1.2.1