summaryrefslogtreecommitdiff
path: root/libs/ardour/vca.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/vca.cc')
-rw-r--r--libs/ardour/vca.cc55
1 files changed, 0 insertions, 55 deletions
diff --git a/libs/ardour/vca.cc b/libs/ardour/vca.cc
index 2d1fbdec8f..8227bf8749 100644
--- a/libs/ardour/vca.cc
+++ b/libs/ardour/vca.cc
@@ -161,61 +161,6 @@ VCA::clear_all_solo_state ()
_solo_control->clear_all_solo_state ();
}
-int
-VCA::assign_controls (boost::shared_ptr<VCA> vca)
-{
- boost::shared_ptr<SlavableAutomationControl> slave;
- boost::shared_ptr<AutomationControl> master;
- AutomationType types[] = {
- GainAutomation,
- SoloAutomation,
- MuteAutomation,
- RecEnableAutomation,
- MonitoringAutomation,
- NullAutomation
- };
-
- for (uint32_t n = 0; types[n] != NullAutomation; ++n) {
-
- slave = boost::dynamic_pointer_cast<SlavableAutomationControl> (automation_control (types[n]));
- master = vca->automation_control (types[n]);
-
- if (slave && master) {
- slave->add_master (master);
- }
- }
-
- return 0;
-}
-
-int
-VCA::unassign_controls (boost::shared_ptr<VCA> vca)
-{
- boost::shared_ptr<SlavableAutomationControl> slave;
- boost::shared_ptr<AutomationControl> master;
- AutomationType types[] = {
- GainAutomation,
- SoloAutomation,
- MuteAutomation,
- RecEnableAutomation,
- MonitoringAutomation,
- NullAutomation
- };
-
- for (uint32_t n = 0; types[n] != NullAutomation; ++n) {
-
- slave = boost::dynamic_pointer_cast<SlavableAutomationControl> (automation_control (types[n]));
- if (!vca) {
- /* unassign from all */
- slave->clear_masters ();
- } else {
- slave->remove_master (master);
- }
- }
-
- return 0;
-}
-
MonitorState
VCA::monitoring_state () const
{