diff options
| author | Brandon Low <lostlogic@rockbox.org> | 2006-04-23 22:54:34 +0000 |
|---|---|---|
| committer | Brandon Low <lostlogic@rockbox.org> | 2006-04-23 22:54:34 +0000 |
| commit | 6c0908b4160838142225c5b570036c4d98de4ece (patch) | |
| tree | 7f7bbb156806fecdb9da63380d4c6e322577deaa /apps/debug_menu.c | |
| parent | 6a6c322a197bf07c72010aae40dd63f12e9cf98a (diff) | |
| download | rockbox-6c0908b4160838142225c5b570036c4d98de4ece.zip rockbox-6c0908b4160838142225c5b570036c4d98de4ece.tar.gz rockbox-6c0908b4160838142225c5b570036c4d98de4ece.tar.bz2 rockbox-6c0908b4160838142225c5b570036c4d98de4ece.tar.xz | |
Rework crossfade to properly follow pcmbuf chunks instaed of blindly inserting into the ring buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9780 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
| -rw-r--r-- | apps/debug_menu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 9c8fdcd..1bbf99d 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -208,7 +208,6 @@ bool dbg_audio_thread(void) return false; } #else /* CONFIG_CODEC == SWCODEC */ -extern size_t audiobuffer_free; extern size_t filebuflen; /* This is a size_t, but call it a long so it puts a - when it's bad. */ extern long filebufused; @@ -260,12 +259,12 @@ bool dbg_audio_thread(void) lcd_clear_display(); snprintf(buf, sizeof(buf), "pcm: %7ld/%7ld", - bufsize-audiobuffer_free, bufsize); + bufsize-pcmbuf_free(), bufsize); lcd_puts(0, line++, buf); /* Playable space left */ scrollbar(0, line*8, LCD_WIDTH, 6, bufsize, 0, - bufsize-audiobuffer_free, HORIZONTAL); + bufsize-pcmbuf_free(), HORIZONTAL); line++; snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", filebufused, filebuflen); |