summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-09-28 15:45:12 +0200
committerRobin Gareus <robin@gareus.org>2017-09-29 05:03:48 +0200
commit5a2ea4d0e2b9afb23da25e43e1f6b7a3cbe4df11 (patch)
tree863ef6af7937703fc4ed0db5d02e2b840c72e841 /libs/ardour/route.cc
parent24ec0b974d84df061cbbe645668dc62fa7120678 (diff)
Delayline naming -- for debug purposes
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index ee4068dda1..2d24ac4ac6 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -193,7 +193,7 @@ Route::init ()
}
if (!is_master() && !is_monitor() && !is_auditioner()) {
- _delayline.reset (new DelayLine (_session, name () + ":in"));
+ _delayline.reset (new DelayLine (_session, name ()));
}
/* and input trim */
@@ -2472,6 +2472,9 @@ Route::state(bool full_state)
{
Glib::Threads::RWLock::ReaderLock lm (_processor_lock);
for (i = _processors.begin(); i != _processors.end(); ++i) {
+ if (*i == _delayline) {
+ continue;
+ }
if (!full_state) {
/* template save: do not include internal sends functioning as
aux sends because the chance of the target ID
@@ -2688,6 +2691,10 @@ Route::set_state (const XMLNode& node, int version)
}
}
+ if (_delayline) {
+ _delayline->set_name (name ());
+ }
+
return 0;
}