diff options
author | David Robillard <d@drobilla.net> | 2009-02-18 22:30:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-18 22:30:06 +0000 |
commit | 9cfa3e2bf6eeaa07a3a0b87e711921f7d07ae97a (patch) | |
tree | 258a1281f7038eb694d6b83ec78b31b28f5fa998 /libs/ardour/ardour/automation_control.h | |
parent | 3ccd34ec7e6c5bd68a0d68db57fc8047b6c9ee7e (diff) |
Fix MIDI control parameter mapping to work with controls that aren't [0..1] like gain (fix ticket #0002553).
git-svn-id: svn://localhost/ardour2/branches/3.0@4627 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 3f22e6d57f..d3a220efbc 100644 --- a/libs/ardour/ardour/automation_control.h +++ b/libs/ardour/ardour/automation_control.h @@ -42,7 +42,9 @@ public: boost::shared_ptr<ARDOUR::AutomationList> l=boost::shared_ptr<ARDOUR::AutomationList>(), const string& name=""); - boost::shared_ptr<AutomationList> alist() const { return boost::dynamic_pointer_cast<AutomationList>(_list); } + boost::shared_ptr<AutomationList> alist() const { + return boost::dynamic_pointer_cast<AutomationList>(_list); + } void set_list(boost::shared_ptr<Evoral::ControlList>); |