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/parameter_descriptor.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/parameter_descriptor.cc')
-rw-r--r-- | libs/ardour/parameter_descriptor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/parameter_descriptor.cc b/libs/ardour/parameter_descriptor.cc index 1269d69d1a..d959072fb5 100644 --- a/libs/ardour/parameter_descriptor.cc +++ b/libs/ardour/parameter_descriptor.cc @@ -195,7 +195,7 @@ ParameterDescriptor::update_steps() if (unit == ParameterDescriptor::MIDI_NOTE) { step = smallstep = 1; // semitone largestep = 12; // octave - } else if (type == GainAutomation || type == TrimAutomation) { + } else if (type == GainAutomation || type == TrimAutomation || type == BusSendLevel) { /* dB_coeff_step gives a step normalized for [0, max_gain]. This is like "slider position", so we convert from "slider position" to gain to have the correct unit here. */ |