diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-02 04:58:23 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-02 04:58:30 -0500 |
commit | 9e3299f97da874a48f67dc5ff0e0f87a6a54768a (patch) | |
tree | 460d8bd46c20c72fbaac2ea917da32bb95d42124 /libs/ardour/ardour/automation_control.h | |
parent | 38f199e35565e58d48f68eafa3e5873d9787c55c (diff) |
change Controllable::set_value() API to include grouped control consideration.
This also removes Route::group_gain_control() and associated machinery.
Not yet tested with Mackie or other surfaces. More work to done to
start using the group capabilities, and also potentially to add
or derive more controls as RouteAutomationControls
Diffstat (limited to 'libs/ardour/ardour/automation_control.h')
-rw-r--r-- | libs/ardour/ardour/automation_control.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/ardour/automation_control.h b/libs/ardour/ardour/automation_control.h index b26d781e2f..0d065686e2 100644 --- a/libs/ardour/ardour/automation_control.h +++ b/libs/ardour/ardour/automation_control.h @@ -85,9 +85,12 @@ public: * Derived classes MUST call ::writable() to verify * that writing to the parameter is legal at that time. */ - void set_value (double); double get_value () const; - + /* inherited from PBD::Controllable. + * Derived classes MUST call ::writable() to verify + * that writing to the parameter is legal at that time. + */ + void set_value (double value, PBD::Controllable::GroupControlDisposition group_override); /* automation related value setting */ virtual bool writable () const; /* Call to ::set_value() with no test for writable() because @@ -110,7 +113,6 @@ public: void commit_transaction (bool did_write); protected: - ARDOUR::Session& _session; const ParameterDescriptor _desc; |