Fix and tweak LV2:RangeStep
authorRobin Gareus <robin@gareus.org>
Wed, 18 Jul 2018 08:48:03 +0000 (10:48 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 18 Jul 2018 08:57:57 +0000 (10:57 +0200)
commit14517e13ecb160511a36f0104f6e4b5210751fc7
tree525de0d7ac1b0cf87f8a2f023987f99b0f285c60
parentfa17364977030616072a0e5f35c9c024f5bf1899
Fix and tweak LV2:RangeStep

Explicit cast to float (rangestep is unsigned int) when calculating
interface steps.
Also prefer to round to nearest value-point (rather than round-down).
libs/ardour/parameter_descriptor.cc