diff options
author | Len Ovens <len@ovenwerks.net> | 2015-10-07 21:36:16 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2015-10-07 21:36:16 -0700 |
commit | 6899bd7c158834d3dc795a408ab37b049ada5e72 (patch) | |
tree | e433a6f2d3bbcc57d49be9781eb6aa6e2f86bc88 /libs/ardour | |
parent | c9658134cebe307f7628fc2631f4d9528c5bbb99 (diff) |
Add Trim to Mackie controls.
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/ardour/route.h | 1 | ||||
-rw-r--r-- | libs/ardour/route.cc | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index 94d8837246..001accb2e3 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -429,6 +429,7 @@ class LIBARDOUR_API Route : public SessionObject, public Automatable, public Rou boost::shared_ptr<PannerShell> panner_shell() const; boost::shared_ptr<AutomationControl> gain_control() const; boost::shared_ptr<Pannable> pannable() const; + boost::shared_ptr<AutomationControl> trim_control() const; /** Return the first processor that accepts has at least one MIDI input diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index ca01b597c0..c3b09df2d3 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -4237,6 +4237,12 @@ Route::gain_control() const } boost::shared_ptr<AutomationControl> +Route::trim_control() const +{ + return _trim->gain_control(); +} + +boost::shared_ptr<AutomationControl> Route::get_control (const Evoral::Parameter& param) { /* either we own the control or .... */ |