diff options
author | Jesse Chappell <jesse@essej.net> | 2007-01-03 20:49:03 +0000 |
---|---|---|
committer | Jesse Chappell <jesse@essej.net> | 2007-01-03 20:49:03 +0000 |
commit | 239a5db49701e977db96854cdcef96646b4d8c4f (patch) | |
tree | b669fa074f81966f4bc3d36276d2436d345ba98e /gtk2_ardour/ardour_ui_options.cc | |
parent | ebbc8b3b6a6d77f705698aff36455c61ee07bb66 (diff) |
* added max peak hold state to IO so that the true held peaks can be displayed
in the numeric field in the gui.
* returned meter falloff to proper slower speeds
git-svn-id: svn://localhost/ardour2/trunk@1265 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index b69a24e95b..d0f523481f 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -587,10 +587,8 @@ ARDOUR_UI::map_meter_falloff () { const char* action = X_("MeterFalloffMedium"); - /* XXX hack alert. Fix this. Please */ - float val = Config->get_meter_falloff (); - MeterFalloff code = (MeterFalloff) (int) (floor (val)); + MeterFalloff code = meter_falloff_from_float(val); switch (code) { case MeterFalloffOff: |