summaryrefslogtreecommitdiff
path: root/libs/ardour/utils.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-07-15 23:40:45 +0200
committerRobin Gareus <robin@gareus.org>2015-07-15 23:40:45 +0200
commit9bf381db0a5b3a85e1a3dc85f3b9aa4098423554 (patch)
tree67680dc926e4bdd47348d3a63b3a96a1a77ba8c2 /libs/ardour/utils.cc
parent3a5ac7f37fe42d3402ea3d1ecf4f81375b5a99c0 (diff)
amend 3a5ac7f
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r--libs/ardour/utils.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index aa9ea35542..270aaa37fd 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -553,14 +553,8 @@ ARDOUR::meter_falloff_from_float (float val)
else if (val <= METER_FALLOFF_MEDIUM) {
return MeterFalloffMedium;
}
- else if (val <= METER_FALLOFF_FAST) {
- return MeterFalloffFast;
- }
- else if (val <= METER_FALLOFF_FASTER) {
- return MeterFalloffFaster;
- }
else {
- return MeterFalloffFastest;
+ return MeterFalloffFast;
}
}