summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/ardour/track.h1
-rw-r--r--libs/ardour/track.cc12
2 files changed, 0 insertions, 13 deletions
diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h
index f00672a2de..df40ac092f 100644
--- a/libs/ardour/ardour/track.h
+++ b/libs/ardour/ardour/track.h
@@ -72,7 +72,6 @@ class LIBARDOUR_API Track : public Route, public Recordable
bool can_record();
- void update_latency_information ();
enum FreezeState {
NoFreeze,
Frozen,
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc
index 2d57ef782a..59a859fdbb 100644
--- a/libs/ardour/track.cc
+++ b/libs/ardour/track.cc
@@ -578,18 +578,6 @@ Track::last_capture_sources ()
return _disk_writer->last_capture_sources ();
}
-void
-Track::update_latency_information ()
-{
- Glib::Threads::RWLock::ReaderLock lr (_processor_lock);
- samplecnt_t chain_latency = _input->latency ();
-
- for (ProcessorList::iterator p = _processors.begin(); p != _processors.end(); ++p) {
- (*p)->set_input_latency (chain_latency);
- chain_latency += (*p)->signal_latency ();
- }
-}
-
std::string
Track::steal_write_source_name()
{