summaryrefslogtreecommitdiff
path: root/libs/ardour/parameter_descriptor.cc
AgeCommit message (Collapse)Author
2015-07-13use “1” as small-step for integer controls.Robin Gareus
2015-04-24define Trim Parameter Type.Robin Gareus
2014-12-04Fix steps for log controls with wide range.David Robillard
2014-12-04Make gain controls step by roughly 1.0/0.1 dB.David Robillard
Shoot for roughly 30 steps for all controls. Always keep sensible step information in ParameterDescriptor and just convert for the UI. This is a little weird, but it's less weird than it was before, and works.
2014-12-02Fix range of pan controls.David Robillard
Set default range to [0,1] since [0,0] is problematic and useless anyway.
2014-12-01Replace half-baked param metadata with descriptor.David Robillard
Among other things, this means that automation controls/lists have the actual min/max/normal/toggled of parameters, and not those inferred from the Parameter ID, which is not correct for things like plugin parameters. Pushing things down to the Evoral::ParmeterDescriptor may be useful in the future to have lists do smarter things based on parameter range, but currently I have just pushed down the above-mentioned currently used attributes.