summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-04-18 17:21:26 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-04-18 17:21:26 +0000
commitae080297199d9542e9c33f915e449d03afd6cd16 (patch)
tree2cc1c61807e0fc9bce335b992ceb8e36610f41d5 /libs/ardour/route.cc
parent0d01255de5434027408124a9a8cb0cd2155e0def (diff)
latency computation debugging, part one (of many?)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3266 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 991b3a5f23..dcf78b5e2e 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -2419,6 +2419,10 @@ Route::update_total_latency ()
}
}
+#ifdef DEBUG_LATENCY
+ cerr << _name << ": internal redirect latency = " << _own_latency << endl;
+#endif
+
set_port_latency (_own_latency);
/* this (virtual) function is used for pure Routes,
@@ -2430,6 +2434,11 @@ Route::update_total_latency ()
_own_latency += input_latency ();
+#ifdef DEBUG_LATENCY
+ cerr << _name << ": input latency = " << input_latency() << " total = "
+ << _own_latency << endl;
+#endif
+
return _own_latency;
}