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:
parent
da5f16a606
commit
05945074d1
1 changed files with 5 additions and 0 deletions
|
|
@ -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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue