1
0
Fork 0
forked from len0rd/rockbox

More fine-tuned buffer handling, and better debug info

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2948 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-12-05 14:11:48 +00:00
parent 49d2190bd0
commit d29248d992
3 changed files with 26 additions and 14 deletions

View file

@ -166,12 +166,12 @@ bool dbg_mpeg_thread(void)
lcd_puts(0, 2, buf);
snprintf(buf, sizeof(buf), "playing: %d", d.playing);
lcd_puts(0, 3, buf);
snprintf(buf, sizeof(buf), "unplayed: %x", d.unplayed_space);
snprintf(buf, sizeof(buf), "playable: %x", d.playable_space);
lcd_puts(0, 4, buf);
snprintf(buf, sizeof(buf), "unswapped: %x", d.unswapped_space);
lcd_puts(0, 5, buf);
percent = d.unplayed_space * 100 / d.mp3buflen;
percent = d.playable_space * 100 / d.mp3buflen;
progressbar(0, 6*8, 112, 4, percent, Grow_Right);
percent = d.low_watermark_level * 100 / d.mp3buflen;