X-Git-Url: https://main.carlh.net/gitweb/?p=ardour.git;a=blobdiff_plain;f=libs%2Fardour%2Froute.cc;h=11db73241cbd304c629a556828f02611134678c9;hp=36d1791f9f22afff3787be34ff37eb1421702aa3;hb=c8c6bca6587450ff64303dbc994a4cd28d6ce7aa;hpb=52d746c5fb39263a42dd33de12e101c3fbeafaa9 diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 36d1791f9f..11db73241c 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -1014,8 +1014,12 @@ Route::add_processors (const ProcessorList& others, boost::shared_ptr } } + if (pi && pi->has_sidechain ()) { + pi->sidechain_input ()->changed.connect_same_thread (*this, boost::bind (&Route::sidechain_change_handler, this, _1, _2)); + } + if ((*i)->active()) { - // why? emit ActiveChanged() ?? + // emit ActiveChanged() and latency_changed() if needed (*i)->activate (); }