projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cc2e8c
)
add Sidechain change handler for automatically added initial SC ports
author
Robin Gareus
<robin@gareus.org>
Tue, 26 Jul 2016 02:17:49 +0000
(
04:17
+0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 26 Jul 2016 02:20:18 +0000
(
04:20
+0200)
libs/ardour/route.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/route.cc
b/libs/ardour/route.cc
index 36d1791f9f22afff3787be34ff37eb1421702aa3..4b14d761ebde62cbd167d54c27376b772bb8f418 100644
(file)
--- a/
libs/ardour/route.cc
+++ b/
libs/ardour/route.cc
@@
-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 ();