diff options
author | Robin Gareus <robin@gareus.org> | 2019-12-14 15:04:08 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-12-14 15:06:23 +0100 |
commit | d4e023e1cbd783c2a46f8b4b231798c05f6b6708 (patch) | |
tree | 94c28a4bd8e44f2de803fefdd3f569c583961f7e /libs/ardour/gain_control.cc | |
parent | d2facbf9c1116c192335ade77a4c07962e5473b9 (diff) |
Make BusSendLevel 1st class citizen (1/2)
Equivalent to Gain and Trim (gain-coefficient, not dB) and use
it for Sends.
Diffstat (limited to 'libs/ardour/gain_control.cc')
-rw-r--r-- | libs/ardour/gain_control.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/gain_control.cc b/libs/ardour/gain_control.cc index 2e552813a9..370627b3ea 100644 --- a/libs/ardour/gain_control.cc +++ b/libs/ardour/gain_control.cc @@ -38,7 +38,7 @@ using namespace std; GainControl::GainControl (Session& session, const Evoral::Parameter ¶m, boost::shared_ptr<AutomationList> al) : SlavableAutomationControl (session, param, ParameterDescriptor(param), al ? al : boost::shared_ptr<AutomationList> (new AutomationList (param)), - param.type() == GainAutomation ? X_("gaincontrol") : X_("trimcontrol"), + (param.type() == GainAutomation || param.type() == BusSendLevel) ? X_("gaincontrol") : X_("trimcontrol"), Controllable::GainLike) { } |