diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-09 13:00:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-09 13:00:54 +0000 |
commit | 1e728e728a79d9b272cc18bc1c46f0c3c8831bf8 (patch) | |
tree | 6ecd938ef19be41d6489540bca740f7a67d88de1 /libs/ardour/graph.cc | |
parent | 8f263c239a2090d43221d817442c8141dd439079 (diff) |
basically, fix all kinds of odds and ends with MIDI playback, including missed notes and applying gain
git-svn-id: svn://localhost/ardour2/branches/3.0@7247 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r-- | libs/ardour/graph.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc index 4cb8d56da4..5e62ba0d6f 100644 --- a/libs/ardour/graph.cc +++ b/libs/ardour/graph.cc @@ -220,7 +220,7 @@ Graph::rechain (boost::shared_ptr<RouteList> routelist) pthread_mutex_lock (&_swap_mutex); int chain = _setup_chain; - printf ("============== setup %d\n", chain); + DEBUG_TRACE (DEBUG::Graph, string_compose ("============== setup %1\n", chain)); // set all refcounts to 0; _init_finished_refcount[chain] = 0; @@ -393,21 +393,21 @@ Graph::dump (int chain) chain = _pending_chain; - printf ("--------------------------------------------Graph dump:\n" ); + DEBUG_TRACE (DEBUG::Graph, "--------------------------------------------Graph dump:\n"); for (ni=_nodes_rt[chain].begin(); ni!=_nodes_rt[chain].end(); ni++) { boost::shared_ptr<Route> rp = boost::dynamic_pointer_cast<Route>( *ni); - printf ("GraphNode: %s refcount: %d\n", rp->name().c_str(), (*ni)->_init_refcount[chain] ); + DEBUG_TRACE (DEBUG::Graph, string_compose ("GraphNode: %1 refcount: %2\n", rp->name().c_str(), (*ni)->_init_refcount[chain])); for (ai=(*ni)->_activation_set[chain].begin(); ai!=(*ni)->_activation_set[chain].end(); ai++) { - printf (" triggers: %s\n", boost::dynamic_pointer_cast<Route>(*ai)->name().c_str() ); + DEBUG_TRACE (DEBUG::Graph, string_compose (" triggers: %1\n", boost::dynamic_pointer_cast<Route>(*ai)->name().c_str())); } } - printf ("------------- trigger list:\n" ); + DEBUG_TRACE (DEBUG::Graph, "------------- trigger list:\n"); for (ni=_init_trigger_list[chain].begin(); ni!=_init_trigger_list[chain].end(); ni++) { - printf ("GraphNode: %s refcount: %d\n", boost::dynamic_pointer_cast<Route>(*ni)->name().c_str(), (*ni)->_init_refcount[chain] ); + DEBUG_TRACE (DEBUG::Graph, string_compose ("GraphNode: %1 refcount: %2\n", boost::dynamic_pointer_cast<Route>(*ni)->name().c_str(), (*ni)->_init_refcount[chain])); } - printf ("final activation refcount: %d\n", _init_finished_refcount[chain] ); + DEBUG_TRACE (DEBUG::Graph, string_compose ("final activation refcount: %1\n", _init_finished_refcount[chain])); #endif } |