1
0
Fork 0
forked from len0rd/rockbox

Initial voice ui support for software codec platforms. Added also a

beep when changing tracks.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7360 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2005-08-20 11:13:19 +00:00
parent 329caa8ade
commit 159c52dd36
17 changed files with 774 additions and 230 deletions

View file

@ -208,8 +208,8 @@ bool dbg_audio_thread(void)
}
#else
extern size_t audiobuffer_free;
extern int codecbuflen;
extern int codecbufused;
extern int filebuflen;
extern int filebufused;
extern int track_count;
static int ticks, boost_ticks;
@ -260,12 +260,12 @@ bool dbg_audio_thread(void)
bufsize-audiobuffer_free, HORIZONTAL);
line++;
snprintf(buf, sizeof(buf), "codec: %d/%d", codecbufused, codecbuflen);
snprintf(buf, sizeof(buf), "codec: %d/%d", filebufused, filebuflen);
lcd_puts(0, line++, buf);
/* Playable space left */
scrollbar(0, line*8, LCD_WIDTH, 6, codecbuflen, 0,
codecbufused, HORIZONTAL);
scrollbar(0, line*8, LCD_WIDTH, 6, filebuflen, 0,
filebufused, HORIZONTAL);
line++;
snprintf(buf, sizeof(buf), "track count: %d", track_count);