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 fa650739f5..9b04cfafd8 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -270,7 +270,6 @@ bool dbg_audio_thread(void) | |||
270 | #else /* CONFIG_CODEC == SWCODEC */ | 270 | #else /* CONFIG_CODEC == SWCODEC */ |
271 | extern size_t filebuflen; | 271 | extern size_t filebuflen; |
272 | /* This is a size_t, but call it a long so it puts a - when it's bad. */ | 272 | /* This is a size_t, but call it a long so it puts a - when it's bad. */ |
273 | extern long filebufused; | ||
274 | 273 | ||
275 | static unsigned int ticks, boost_ticks; | 274 | static unsigned int ticks, boost_ticks; |
276 | 275 | ||
@@ -329,12 +328,12 @@ bool dbg_audio_thread(void) | |||
329 | scrollbar(0, line*8, LCD_WIDTH, 6, bufsize, 0, bufused, HORIZONTAL); | 328 | scrollbar(0, line*8, LCD_WIDTH, 6, bufsize, 0, bufused, HORIZONTAL); |
330 | line++; | 329 | line++; |
331 | 330 | ||
332 | snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", filebufused, (long) filebuflen); | 331 | snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", audio_filebufused(), (long) filebuflen); |
333 | lcd_puts(0, line++, buf); | 332 | lcd_puts(0, line++, buf); |
334 | 333 | ||
335 | /* Playable space left */ | 334 | /* Playable space left */ |
336 | scrollbar(0, line*8, LCD_WIDTH, 6, filebuflen, 0, | 335 | scrollbar(0, line*8, LCD_WIDTH, 6, filebuflen, 0, |
337 | filebufused, HORIZONTAL); | 336 | audio_filebufused(), HORIZONTAL); |
338 | line++; | 337 | line++; |
339 | 338 | ||
340 | snprintf(buf, sizeof(buf), "track count: %2d", audio_track_count()); | 339 | snprintf(buf, sizeof(buf), "track count: %2d", audio_track_count()); |