diff options
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r-- | libs/ardour/automation_control.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index 30eb19fd5a..acd4c7a760 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -136,6 +136,16 @@ AutomationControl::set_value (double val, PBD::Controllable::GroupControlDisposi } } +ControlList +AutomationControl::grouped_controls () const +{ + if (_group && _group->use_me (PBD::Controllable::UseGroup)) { + return _group->controls (); + } else { + return ControlList (); + } +} + /** Set the value and do the right thing based on automation state * (e.g. record if necessary, etc.) * @param value `user' value |