summaryrefslogtreecommitdiff
path: root/libs/ardour/vca.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-22 21:06:12 +0200
committerRobin Gareus <robin@gareus.org>2017-06-22 22:04:10 +0200
commit9334c99b355c7e326f5659794c88f61805aa16d0 (patch)
treec171795e0953acfe735170f1feed44d40773009c /libs/ardour/vca.cc
parentfaa52a33498b7d655c6e54176bd257d88eec3ea5 (diff)
Update Slavable API
Do not use AutomationType to identify parameters, use complete Evoral::Parameter and Automatable. For "batch connections", a Slavables needs to implement an API to return the relevant controls. This is only a first step towards a more generic Master/Slave framework.
Diffstat (limited to 'libs/ardour/vca.cc')
-rw-r--r--libs/ardour/vca.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/vca.cc b/libs/ardour/vca.cc
index e9b058f6a9..7be103e9e4 100644
--- a/libs/ardour/vca.cc
+++ b/libs/ardour/vca.cc
@@ -207,3 +207,13 @@ VCA::slaved_to (boost::shared_ptr<VCA> vca) const
return _gain_control->slaved_to (vca->gain_control());
}
+
+SlavableControlList
+VCA::slavables () const
+{
+ SlavableControlList rv;
+ rv.push_back (_gain_control);
+ rv.push_back (_mute_control);
+ rv.push_back (_solo_control);
+ return rv;
+}