diff options
author | David Robillard <d@drobilla.net> | 2007-07-06 02:37:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-06 02:37:35 +0000 |
commit | b942d3613e9679a1ffc5ad5ff0a6491cac1fa853 (patch) | |
tree | c6df327c7e2a34425c54e16ae02032affceeaae0 /libs/ardour/ardour/automation_control.h | |
parent | 19273e824d40534a4e31259fb8b83122b24aa4e9 (diff) |
Fix 'live' CC sending of bar controllers after loading session (previously only worked when immediately created by user).
git-svn-id: svn://localhost/ardour2/trunk@2116 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/automation_control.h')
-rw-r--r-- | libs/ardour/ardour/automation_control.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/automation_control.h b/libs/ardour/ardour/automation_control.h index cc0aee5326..68ac5797dc 100644 --- a/libs/ardour/ardour/automation_control.h +++ b/libs/ardour/ardour/automation_control.h @@ -29,6 +29,7 @@ namespace ARDOUR { class AutomationList; class Session; +class Automatable; /** A PBD:Controllable with associated automation data (AutomationList) @@ -36,7 +37,8 @@ class Session; class AutomationControl : public PBD::Controllable { public: - AutomationControl(ARDOUR::Session&, boost::shared_ptr<ARDOUR::AutomationList>, + AutomationControl(ARDOUR::Session&, + boost::shared_ptr<ARDOUR::AutomationList>, std::string name="unnamed controllable"); void set_value(float val); |