From 8738b689e037c5db3d57bd071812b38e9875d141 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 8 Oct 2009 14:40:09 +0000 Subject: accurate dB/log patch from Carl, back-ported from 3.0 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5756 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/automation_line.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/automation_line.cc') diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index a15c113a67..94273626c3 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -765,7 +765,7 @@ AutomationLine::get_verbose_cursor_string (float fraction) if (fraction == 0.0) { snprintf (buf, sizeof (buf), "-inf dB"); } else { - snprintf (buf, sizeof (buf), "%.1fdB", coefficient_to_dB (slider_position_to_gain (fraction))); + snprintf (buf, sizeof (buf), "%.1fdB", accurate_coefficient_to_dB (slider_position_to_gain (fraction))); } } else { snprintf (buf, sizeof (buf), "%.2f", fraction); -- cgit v1.2.3