1
0
Fork 0
forked from len0rd/rockbox

Fix FS#8689 (the peak meter does not work during a playing after a recording not followed by a reboot) by applying the patch from FS#9227.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18249 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2008-08-11 22:12:40 +00:00
parent da5f16a606
commit 05945074d1

View file

@ -2054,9 +2054,14 @@ bool gui_wps_refresh(struct gui_wps *gwps,
/* found a line with a peak meter -> remember that we must /* found a line with a peak meter -> remember that we must
enable it later */ enable it later */
enable_pm = true; enable_pm = true;
peak_meter_enabled = true;
peak_meter_screen(gwps->display, 0, peak_meter_y, peak_meter_screen(gwps->display, 0, peak_meter_y,
MIN(h, display->getheight() - peak_meter_y)); MIN(h, display->getheight() - peak_meter_y));
} }
else
{
peak_meter_enabled = false;
}
} }
#else /* HAVE_LCD_CHARCELL */ #else /* HAVE_LCD_CHARCELL */