diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-22 21:06:12 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-22 22:04:10 +0200 |
commit | 9334c99b355c7e326f5659794c88f61805aa16d0 (patch) | |
tree | c171795e0953acfe735170f1feed44d40773009c /libs/ardour/route.cc | |
parent | faa52a33498b7d655c6e54176bd257d88eec3ea5 (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/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 58be7c2756..63ac12a1cf 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -5516,3 +5516,13 @@ Route::automation_control_recurse (PBD::ID const & id) const return boost::shared_ptr<AutomationControl> (); } + +SlavableControlList +Route::slavables () const +{ + SlavableControlList rv; + rv.push_back (_gain_control); + rv.push_back (_mute_control); + rv.push_back (_solo_control); + return rv; +} |