1
0
Fork 0
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:
Linus Nielsen Feltzing 2002-12-14 00:09:47 +00:00
parent 5ff17c8b1d
commit 3c9a109ec2

View file

@ -39,6 +39,9 @@
#include "sound_menu.h"
#include "timefuncs.h"
#include "debug.h"
#include "string.h"
extern char *num2max5(unsigned int bytes, char *max5);
bool f2_rec_screen(void);
bool f3_rec_screen(void);
@ -366,8 +369,9 @@ bool recording_screen(void)
hours = seconds / 3600;
minutes = (seconds - (hours * 3600)) / 60;
snprintf(buf, 32, "%02d:%02d:%02d",
hours, minutes, seconds%60);
snprintf(buf, 32, "%02d:%02d:%02d %s",
hours, minutes, seconds%60,
num2max5(mpeg_num_recorded_bytes(), buf2));
lcd_puts(0, 1, buf);
peak_meter_draw(0, 8 + h*2, LCD_WIDTH, h);