summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-03-08 09:22:22 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:39 -0400
commit9a0f4b1ef354f5ccc7cbe49a28b4a5eb35e0eb99 (patch)
treebbf4e398c00b3c802cf0a1aba3917657da789027 /libs/ardour/route.cc
parent04e26fe7e6cf0ae4d85a5527b30b5e1196966465 (diff)
move vca assignment up to the Route level (from GainControl)
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index edffc3f3ce..5332a70036 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -5899,7 +5899,8 @@ void
Route::vca_assign (boost::shared_ptr<VCA> vca)
{
_gain_control->add_master (vca);
- vca->add_solo_mute_target (shared_from_this());
+ vca->add_solo_target (shared_from_this());
+ vca->add_mute_target (shared_from_this());
}
void
@@ -5911,6 +5912,7 @@ Route::vca_unassign (boost::shared_ptr<VCA> vca)
/* XXXX need to remove from solo/mute target lists */
} else {
_gain_control->remove_master (vca);
- vca->remove_solo_mute_target (shared_from_this());
+ vca->remove_solo_target (shared_from_this());
+ vca->remove_mute_target (shared_from_this());
}
}