diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index f8d3f36f02..d8ebe9bfb1 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include "system.h" | 38 | #include "system.h" |
39 | #include "font.h" | 39 | #include "font.h" |
40 | #include "disk.h" | 40 | #include "disk.h" |
41 | #include "mpeg.h" | 41 | #include "audio.h" |
42 | #include "mp3_playback.h" | 42 | #include "mp3_playback.h" |
43 | #include "settings.h" | 43 | #include "settings.h" |
44 | #include "ata.h" | 44 | #include "ata.h" |
@@ -335,11 +335,11 @@ bool dbg_os(void) | |||
335 | #endif | 335 | #endif |
336 | 336 | ||
337 | #ifdef HAVE_LCD_BITMAP | 337 | #ifdef HAVE_LCD_BITMAP |
338 | bool dbg_mpeg_thread(void) | 338 | bool dbg_audio_thread(void) |
339 | { | 339 | { |
340 | char buf[32]; | 340 | char buf[32]; |
341 | int button; | 341 | int button; |
342 | struct mpeg_debug d; | 342 | struct audio_debug d; |
343 | 343 | ||
344 | lcd_setmargins(0, 0); | 344 | lcd_setmargins(0, 0); |
345 | 345 | ||
@@ -352,7 +352,7 @@ bool dbg_mpeg_thread(void) | |||
352 | return false; | 352 | return false; |
353 | } | 353 | } |
354 | 354 | ||
355 | mpeg_get_debugdata(&d); | 355 | audio_get_debugdata(&d); |
356 | 356 | ||
357 | lcd_clear_display(); | 357 | lcd_clear_display(); |
358 | 358 | ||
@@ -1862,7 +1862,7 @@ static bool dbg_disk_info(void) | |||
1862 | 1862 | ||
1863 | case SETTINGS_OK: | 1863 | case SETTINGS_OK: |
1864 | if (page == 3) { | 1864 | if (page == 3) { |
1865 | mpeg_stop(); /* stop playback, to avoid disk access */ | 1865 | audio_stop(); /* stop playback, to avoid disk access */ |
1866 | lcd_clear_display(); | 1866 | lcd_clear_display(); |
1867 | lcd_puts(0,0,"Scanning"); | 1867 | lcd_puts(0,0,"Scanning"); |
1868 | lcd_puts(0,1,"disk..."); | 1868 | lcd_puts(0,1,"disk..."); |
@@ -2016,7 +2016,7 @@ bool debug_menu(void) | |||
2016 | { "View disk info", dbg_disk_info }, | 2016 | { "View disk info", dbg_disk_info }, |
2017 | #endif | 2017 | #endif |
2018 | #ifdef HAVE_LCD_BITMAP | 2018 | #ifdef HAVE_LCD_BITMAP |
2019 | { "View mpeg thread", dbg_mpeg_thread }, | 2019 | { "View audio thread", dbg_audio_thread }, |
2020 | #ifdef PM_DEBUG | 2020 | #ifdef PM_DEBUG |
2021 | { "pm histogram", peak_meter_histogram}, | 2021 | { "pm histogram", peak_meter_histogram}, |
2022 | #endif /* PM_DEBUG */ | 2022 | #endif /* PM_DEBUG */ |