summaryrefslogtreecommitdiff
path: root/libs/ardour/utils.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-06 01:40:57 +0200
committerRobin Gareus <robin@gareus.org>2013-07-10 15:27:11 +0200
commitc1f56d4d7c12290c06392539f05547a7bd89e5b2 (patch)
tree1c311aa54411563eb00d3ad347a128ae2ab76fc4 /libs/ardour/utils.cc
parent8427faf1fb7f704c4d3161ab80639e685845508b (diff)
meter line-up and fall-off standard values & names
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r--libs/ardour/utils.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index aedc78988f..e7b7648149 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -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;
}