From 5a2ea4d0e2b9afb23da25e43e1f6b7a3cbe4df11 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 28 Sep 2017 15:45:12 +0200 Subject: Delayline naming -- for debug purposes --- libs/ardour/route.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'libs/ardour/route.cc') 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; } -- cgit v1.2.3