mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
add Sidechain change handler for automatically added initial SC ports
This commit is contained in:
parent
7cc2e8c969
commit
43e20fd3e8
1 changed files with 4 additions and 0 deletions
|
|
@ -1014,6 +1014,10 @@ Route::add_processors (const ProcessorList& others, boost::shared_ptr<Processor>
|
|||
}
|
||||
}
|
||||
|
||||
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() ??
|
||||
(*i)->activate ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue