mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-19 22:48:46 -04:00
Lv2: Use port-property "logarithmic"
This also adds more min/max checks, mostly for logarithmic scales. Since this raised some warnings for logarithmic CV ports, the CV metadata is now also read (but CV ports are still not supported).
This commit is contained in:
committed by
Johannes Lorenz
parent
7a85b4d547
commit
a2e71c81de
@@ -50,8 +50,16 @@ const char *PluginIssue::msgFor(const PluginIssueType &it)
|
||||
return "port is missing min value";
|
||||
case portHasNoMax:
|
||||
return "port is missing max value";
|
||||
case minGreaterMax:
|
||||
return "port minimum is greater than maximum";
|
||||
case defaultValueNotInRange:
|
||||
return "default value is not in range [min, max]";
|
||||
case logScaleMinMissing:
|
||||
return "logscale requires minimum value";
|
||||
case logScaleMaxMissing:
|
||||
return "logscale requires maximum value";
|
||||
case logScaleMinMaxDifferentSigns:
|
||||
return "logscale with min < 0 < max";
|
||||
case featureNotSupported:
|
||||
return "required feature not supported";
|
||||
case badPortType:
|
||||
|
||||
Reference in New Issue
Block a user