summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-07-04 13:02:55 +0200
committerRobin Gareus <robin@gareus.org>2014-07-04 13:57:35 +0200
commit8fa0f7bc0b18d485125dc8ef40204b3ff1d64735 (patch)
tree200ba401a6762c4c3ab6fbc8b767d823bc86e32d /libs
parente083deff834dd74e41749f5bef1bbef7aa3ce340 (diff)
disable latency-compensation preparations for now
Don't add delaylines to tracks by default just yet, currently only sends are aligned with delaylines
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/route.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 5df58ea846..665ddac5d6 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -145,10 +145,12 @@ Route::init ()
_output->changed.connect_same_thread (*this, boost::bind (&Route::output_change_handler, this, _1, _2));
_output->PortCountChanging.connect_same_thread (*this, boost::bind (&Route::output_port_count_changing, this, _1));
+#if 0 // not used - just yet
if (!is_master() && !is_monitor() && !is_auditioner()) {
_delayline.reset (new DelayLine (_session, _name));
add_processor (_delayline, PreFader);
}
+#endif
/* add amp processor */
@@ -2605,8 +2607,10 @@ Route::set_processor_state (const XMLNode& node)
_meter->set_state (**niter, Stateful::current_state_version);
new_order.push_back (_meter);
} else if (prop->value() == "delay") {
- _delayline->set_state (**niter, Stateful::current_state_version);
- new_order.push_back (_delayline);
+ if (_delayline) {
+ _delayline->set_state (**niter, Stateful::current_state_version);
+ new_order.push_back (_delayline);
+ }
} else if (prop->value() == "main-outs") {
_main_outs->set_state (**niter, Stateful::current_state_version);
} else if (prop->value() == "intreturn") {
@@ -4141,9 +4145,11 @@ Route::setup_invisible_processors ()
}
}
+#if 0 // not used - just yet
if (!is_master() && !is_monitor() && !is_auditioner()) {
new_processors.push_front (_delayline);
}
+#endif
/* MONITOR CONTROL */