1
0
Fork 0
forked from len0rd/rockbox

comment a type change for audio debug

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9654 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Brandon Low 2006-04-14 04:46:05 +00:00
parent 2f4edabfce
commit bb2eecb496

View file

@ -209,8 +209,9 @@ bool dbg_audio_thread(void)
} }
#else /* CONFIG_CODEC == SWCODEC */ #else /* CONFIG_CODEC == SWCODEC */
extern size_t audiobuffer_free; extern size_t audiobuffer_free;
extern int filebuflen; extern size_t filebuflen;
extern int filebufused; /* This is a size_t, but call it a long so it puts a - when it's bad. */
extern long filebufused;
static unsigned int ticks, boost_ticks; static unsigned int ticks, boost_ticks;
@ -267,7 +268,7 @@ bool dbg_audio_thread(void)
bufsize-audiobuffer_free, HORIZONTAL); bufsize-audiobuffer_free, HORIZONTAL);
line++; line++;
snprintf(buf, sizeof(buf), "codec: %8d/%8d", filebufused, filebuflen); snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", filebufused, filebuflen);
lcd_puts(0, line++, buf); lcd_puts(0, line++, buf);
/* Playable space left */ /* Playable space left */