mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
meter line-up and fall-off standard values & names
This commit is contained in:
parent
8427faf1fb
commit
c1f56d4d7c
5 changed files with 40 additions and 20 deletions
|
|
@ -442,8 +442,12 @@ meter_falloff_to_float (MeterFalloff falloff)
|
|||
return METER_FALLOFF_SLOWEST;
|
||||
case MeterFalloffSlow:
|
||||
return METER_FALLOFF_SLOW;
|
||||
case MeterFalloffSlowish:
|
||||
return METER_FALLOFF_SLOWISH;
|
||||
case MeterFalloffMedium:
|
||||
return METER_FALLOFF_MEDIUM;
|
||||
case MeterFalloffModerate:
|
||||
return METER_FALLOFF_MODERATE;
|
||||
case MeterFalloffFast:
|
||||
return METER_FALLOFF_FAST;
|
||||
case MeterFalloffFaster:
|
||||
|
|
@ -467,6 +471,12 @@ meter_falloff_from_float (float val)
|
|||
else if (val <= METER_FALLOFF_SLOW) {
|
||||
return MeterFalloffSlow;
|
||||
}
|
||||
else if (val <= METER_FALLOFF_SLOWISH) {
|
||||
return MeterFalloffSlowish;
|
||||
}
|
||||
else if (val <= METER_FALLOFF_MODERATE) {
|
||||
return MeterFalloffModerate;
|
||||
}
|
||||
else if (val <= METER_FALLOFF_MEDIUM) {
|
||||
return MeterFalloffMedium;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue