diff options
author | David Robillard <d@drobilla.net> | 2011-03-16 06:49:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-16 06:49:23 +0000 |
commit | 4fc42bca44651b927d336110c23e789691f3bb48 (patch) | |
tree | ebb64746cfaa6a86d210c11381779b3e689608ec /libs/ardour/port.cc | |
parent | c4c40340855dff6191a670d3130d65b1e79dc8a0 (diff) |
Replace connection cerr dumping with DEBUG_TRACE.
Logging here is unusably slow for adding a large number of tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9156 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/port.cc')
-rw-r--r-- | libs/ardour/port.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc index c66995bb3c..df1690da37 100644 --- a/libs/ardour/port.cc +++ b/libs/ardour/port.cc @@ -341,7 +341,7 @@ Port::get_connected_latency_range (jack_latency_range_t& range, bool playback) c range.min = ~((jack_nframes_t) 0); range.max = 0; - DEBUG_TRACE (DEBUG::Latency, string_compose ("%1: %2 connections to check for latency range\n", name(), connections.size())); + DEBUG_TRACE (DEBUG::Latency, string_compose ("%1: %2 connections to check for latency range\n", name(), connections.size())); for (vector<string>::const_iterator c = connections.begin(); c != connections.end(); ++c) { @@ -354,6 +354,7 @@ Port::get_connected_latency_range (jack_latency_range_t& range, bool playback) c remote_port, (playback ? JackPlaybackLatency : JackCaptureLatency), &lr); + DEBUG_TRACE (DEBUG::Latency, string_compose ( "\t%1 <-> %2 : latter has latency range %3 .. %4\n", name(), *c, lr.min, lr.max)); @@ -363,7 +364,7 @@ Port::get_connected_latency_range (jack_latency_range_t& range, bool playback) c } } else { - DEBUG_TRACE (DEBUG::Latency, string_compose ("%1: not connected to anything\n", name())); + DEBUG_TRACE (DEBUG::Latency, string_compose ("%1: not connected to anything\n", name())); range.min = 0; range.max = 0; } |