diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-04 09:25:31 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-04 09:27:33 -0400 |
commit | 2e3c25eca709b734297edc3f4487264cbf6c1a58 (patch) | |
tree | ebdcf68070779ca7f3d99b690cd9e3e48ac5a2e3 /libs/ardour/ardour/automation_control.h | |
parent | d2f20120b762b1ad6bd19efaa66579e80ab387ca (diff) |
make sure that rec-enable changes get to do their non-RT stuff before being queued for RT-context execution
Diffstat (limited to 'libs/ardour/ardour/automation_control.h')
-rw-r--r-- | libs/ardour/ardour/automation_control.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/ardour/automation_control.h b/libs/ardour/ardour/automation_control.h index ecc16cb134..e15abbec46 100644 --- a/libs/ardour/ardour/automation_control.h +++ b/libs/ardour/ardour/automation_control.h @@ -134,6 +134,12 @@ class LIBARDOUR_API AutomationControl virtual void actually_set_value (double value, PBD::Controllable::GroupControlDisposition); + /* Session needs to call this method before it queues up the real + change for execution in a realtime context. C++ access control sucks. + */ + friend class Session; + virtual void do_pre_realtime_queue_stuff (double new_value) {} + private: /* I am unclear on why we have to make ControlGroup a friend in order to get access to the ::set_group() method when it is already |