forked from len0rd/rockbox
Added recorded file size display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2981 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5ff17c8b1d
commit
3c9a109ec2
1 changed files with 6 additions and 2 deletions
|
|
@ -39,6 +39,9 @@
|
||||||
#include "sound_menu.h"
|
#include "sound_menu.h"
|
||||||
#include "timefuncs.h"
|
#include "timefuncs.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
#include "string.h"
|
||||||
|
|
||||||
|
extern char *num2max5(unsigned int bytes, char *max5);
|
||||||
|
|
||||||
bool f2_rec_screen(void);
|
bool f2_rec_screen(void);
|
||||||
bool f3_rec_screen(void);
|
bool f3_rec_screen(void);
|
||||||
|
|
@ -366,8 +369,9 @@ bool recording_screen(void)
|
||||||
|
|
||||||
hours = seconds / 3600;
|
hours = seconds / 3600;
|
||||||
minutes = (seconds - (hours * 3600)) / 60;
|
minutes = (seconds - (hours * 3600)) / 60;
|
||||||
snprintf(buf, 32, "%02d:%02d:%02d",
|
snprintf(buf, 32, "%02d:%02d:%02d %s",
|
||||||
hours, minutes, seconds%60);
|
hours, minutes, seconds%60,
|
||||||
|
num2max5(mpeg_num_recorded_bytes(), buf2));
|
||||||
lcd_puts(0, 1, buf);
|
lcd_puts(0, 1, buf);
|
||||||
peak_meter_draw(0, 8 + h*2, LCD_WIDTH, h);
|
peak_meter_draw(0, 8 + h*2, LCD_WIDTH, h);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue