diff options
author | David Robillard <d@drobilla.net> | 2007-09-20 01:43:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-09-20 01:43:48 +0000 |
commit | ed782b485becdaa2db064adaa00f1ffcd4880c26 (patch) | |
tree | 25b6c7638aca39547327303f3e9e124ef57651cb /src | |
parent | 99524eb321120773c39ca357396603eb32cffd2c (diff) | |
download | ingen-ed782b485becdaa2db064adaa00f1ffcd4880c26.tar.gz ingen-ed782b485becdaa2db064adaa00f1ffcd4880c26.tar.bz2 ingen-ed782b485becdaa2db064adaa00f1ffcd4880c26.zip |
Cut down superfluous console output.
git-svn-id: http://svn.drobilla.net/lad/ingen@736 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/engine/NodeFactory.cpp | 2 | ||||
-rw-r--r-- | src/libs/engine/OSCEngineReceiver.cpp | 5 | ||||
-rw-r--r-- | src/libs/gui/PatchView.cpp | 4 | ||||
-rw-r--r-- | src/libs/serialisation/Loader.cpp | 13 |
4 files changed, 10 insertions, 14 deletions
diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp index 649b4c71..ea670ab0 100644 --- a/src/libs/engine/NodeFactory.cpp +++ b/src/libs/engine/NodeFactory.cpp @@ -570,7 +570,7 @@ NodeFactory::load_ladspa_plugins() // Ignore stupid libtool files. Kludge alert. if (full_lib_name.substr(full_lib_name.length()-3) == ".la") { - cerr << "WARNING: Skipping stupid libtool file " << pfile->d_name << endl; + //cerr << "WARNING: Skipping stupid libtool file " << pfile->d_name << endl; continue; } diff --git a/src/libs/engine/OSCEngineReceiver.cpp b/src/libs/engine/OSCEngineReceiver.cpp index d750118e..3229aed5 100644 --- a/src/libs/engine/OSCEngineReceiver.cpp +++ b/src/libs/engine/OSCEngineReceiver.cpp @@ -901,12 +901,11 @@ OSCEngineReceiver::_dssi_cb(const char* path, const char* types, lo_arg** argv, int OSCEngineReceiver::generic_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg, void* user_data) { - printf("[OSCMsg] %s\n", path); + printf("[OSCMsg] %s (%s)\t", path, types); for (int i=0; i < argc; ++i) { - printf(" '%c' ", types[i]); lo_arg_pp(lo_type(types[i]), argv[i]); - printf("\n"); + printf("\t"); } printf("\n"); diff --git a/src/libs/gui/PatchView.cpp b/src/libs/gui/PatchView.cpp index 12005adb..f0a885c5 100644 --- a/src/libs/gui/PatchView.cpp +++ b/src/libs/gui/PatchView.cpp @@ -61,7 +61,7 @@ PatchView::set_patch(SharedPtr<PatchModel> patch) { assert(!_canvas); // FIXME: remove - cerr << "Creating view for " << patch->path() << endl; + //cerr << "Creating view for " << patch->path() << endl; assert(_breadcrumb_container); // ensure created @@ -105,7 +105,7 @@ PatchView::set_patch(SharedPtr<PatchModel> patch) PatchView::~PatchView() { - cerr << "Destroying view for " << _patch->path() << endl; + //cerr << "Destroying view for " << _patch->path() << endl; } diff --git a/src/libs/serialisation/Loader.cpp b/src/libs/serialisation/Loader.cpp index 1602ed6f..792d19dd 100644 --- a/src/libs/serialisation/Loader.cpp +++ b/src/libs/serialisation/Loader.cpp @@ -69,13 +69,10 @@ Loader::load(SharedPtr<EngineInterface> engine, /* Use parameter overridden polyphony, if given */ Raul::Table<string, Atom>::iterator poly_param = data.find("ingen:polyphony"); if (poly_param != data.end() && poly_param->second.type() == Atom::INT) { - cerr << "Using overridden poly: " << poly_param->second.get_int32(); patch_poly = poly_param->second.get_int32(); /* Get polyphony from file (mandatory if not specified in parameters) */ } else { - cerr << "No overridden poly." << endl; - // FIXME: polyphony datatype? RDF::Query query(*rdf_world, Glib::ustring( "SELECT DISTINCT ?poly WHERE {\n") + @@ -111,8 +108,8 @@ Loader::load(SharedPtr<EngineInterface> engine, } Path patch_path = ( parent ? (parent.get().base() + patch_name) : Path("/") ); - cerr << "************ PATCH: name=" << patch_name << ", path=" << patch_path - << ", poly = " << patch_poly << endl; + //cerr << "************ PATCH: name=" << patch_name << ", path=" << patch_path + // << ", poly = " << patch_poly << endl; engine->create_patch(patch_path, patch_poly); @@ -287,7 +284,7 @@ Loader::load(SharedPtr<EngineInterface> engine, Path dst_node = patch_path.base() + (*i)["dstnodename"].to_string(); Path dst_port = dst_node.base() + (*i)["dstname"].to_string(); - cerr << patch_path << " 1 CONNECTION: " << src_port << " -> " << dst_port << endl; + //cerr << patch_path << " 1 CONNECTION: " << src_port << " -> " << dst_port << endl; engine->connect(src_port, dst_port); } @@ -313,7 +310,7 @@ Loader::load(SharedPtr<EngineInterface> engine, Path dst_node = patch_path.base() + (*i)["dstnodename"].to_string(); Path dst_port = dst_node.base() + (*i)["dstname"].to_string(); - cerr << patch_path << " 2 CONNECTION: " << src_port << " -> " << dst_port << endl; + //cerr << patch_path << " 2 CONNECTION: " << src_port << " -> " << dst_port << endl; engine->connect(src_port, dst_port); } @@ -339,7 +336,7 @@ Loader::load(SharedPtr<EngineInterface> engine, Path src_node = patch_path.base() + (*i)["srcnodename"].to_string(); Path src_port = src_node.base() + (*i)["srcname"].to_string(); - cerr << patch_path << " 3 CONNECTION: " << src_port << " -> " << dst_port << endl; + //cerr << patch_path << " 3 CONNECTION: " << src_port << " -> " << dst_port << endl; engine->connect(src_port, dst_port); } |