diff options
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 .... */ |