summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/automation_control.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-04 09:25:31 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-07-04 09:27:33 -0400
commit2e3c25eca709b734297edc3f4487264cbf6c1a58 (patch)
treeebdcf68070779ca7f3d99b690cd9e3e48ac5a2e3 /libs/ardour/ardour/automation_control.h
parentd2f20120b762b1ad6bd19efaa66579e80ab387ca (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.h6
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