diff options
-rw-r--r-- | src/libs/engine/LADSPANode.cpp | 7 | ||||
-rw-r--r-- | src/libs/engine/NodeFactory.cpp | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp index 713423cc..957c49dd 100644 --- a/src/libs/engine/LADSPANode.cpp +++ b/src/libs/engine/LADSPANode.cpp @@ -75,9 +75,12 @@ LADSPANode::instantiate() Port* port = NULL; for (size_t j=0; j < _descriptor->PortCount; ++j) { - cerr << "Name before: " << _descriptor->PortNames[j] << endl; port_name = Path::nameify(_descriptor->PortNames[j]); - cerr << "Name after: " << port_name << endl; + + if (_descriptor->PortNames[j] != port_name) + cerr << "WARNING: Translated LADSPA port name: " << + _descriptor->PortNames[j] << " -> " << port_name << endl; + string::size_type slash_index; // Name mangling, to guarantee port names are unique diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp index 28afb67a..4e91ed02 100644 --- a/src/libs/engine/NodeFactory.cpp +++ b/src/libs/engine/NodeFactory.cpp @@ -272,7 +272,7 @@ NodeFactory::load_lv2_plugins() { SLV2Plugins plugins = slv2_world_get_all_plugins(_world); - cerr << "[NodeFactory] Found " << slv2_plugins_size(plugins) << " LV2 plugins:" << endl; + //cerr << "[NodeFactory] Found " << slv2_plugins_size(plugins) << " LV2 plugins:" << endl; for (unsigned i=0; i < slv2_plugins_size(plugins); ++i) { @@ -280,7 +280,7 @@ NodeFactory::load_lv2_plugins() const char* uri = (const char*)slv2_plugin_get_uri(lv2_plug); assert(uri); - cerr << "\t" << uri << endl; + //cerr << "\t" << uri << endl; Plugin* plug = NULL; |