diff options
author | David Robillard <d@drobilla.net> | 2007-07-04 00:13:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-04 00:13:35 +0000 |
commit | c6b1d62cdb416a0a0c9dd94936e44545f23a688c (patch) | |
tree | 6d5a1da965a121b064f0e43592650abbe0a87ec4 | |
parent | 7fbd6d61e2f6b498afd4880290f49dbbae27592f (diff) | |
download | ingen-c6b1d62cdb416a0a0c9dd94936e44545f23a688c.tar.gz ingen-c6b1d62cdb416a0a0c9dd94936e44545f23a688c.tar.bz2 ingen-c6b1d62cdb416a0a0c9dd94936e44545f23a688c.zip |
Fix crash on Ingen patch save (mismatched RDF type enums).
Disable some excessive debug print output.
git-svn-id: http://svn.drobilla.net/lad/ingen@566 a436a847-0d15-0410-975c-d299462d15a1
-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; |