diff options
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 fa65073..9b04cfa 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -270,7 +270,6 @@ bool dbg_audio_thread(void) #else /* CONFIG_CODEC == SWCODEC */ 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; static unsigned int ticks, boost_ticks; @@ -329,12 +328,12 @@ bool dbg_audio_thread(void) scrollbar(0, line*8, LCD_WIDTH, 6, bufsize, 0, bufused, HORIZONTAL); line++; - snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", filebufused, (long) filebuflen); + snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", audio_filebufused(), (long) filebuflen); lcd_puts(0, line++, buf); /* Playable space left */ scrollbar(0, line*8, LCD_WIDTH, 6, filebuflen, 0, - filebufused, HORIZONTAL); + audio_filebufused(), HORIZONTAL); line++; snprintf(buf, sizeof(buf), "track count: %2d", audio_track_count()); |