}
}
+ 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 ();
}