diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/tree.c b/apps/tree.c index d2b78f9872..139043ab04 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include "tree.h" | 33 | #include "tree.h" |
34 | #include "main_menu.h" | 34 | #include "main_menu.h" |
35 | #include "sprintf.h" | 35 | #include "sprintf.h" |
36 | #include "mpeg.h" | 36 | #include "audio.h" |
37 | #include "playlist.h" | 37 | #include "playlist.h" |
38 | #include "menu.h" | 38 | #include "menu.h" |
39 | #include "wps.h" | 39 | #include "wps.h" |
@@ -799,8 +799,8 @@ static bool dirbrowse(void) | |||
799 | { | 799 | { |
800 | /* Stop the music if it is playing, else show the shutdown | 800 | /* Stop the music if it is playing, else show the shutdown |
801 | screen */ | 801 | screen */ |
802 | if(mpeg_status()) | 802 | if(audio_status()) |
803 | mpeg_stop(); | 803 | audio_stop(); |
804 | else { | 804 | else { |
805 | if (!charger_inserted()) { | 805 | if (!charger_inserted()) { |
806 | shutdown_screen(); | 806 | shutdown_screen(); |
@@ -998,7 +998,7 @@ static bool dirbrowse(void) | |||
998 | /* don't enter wps from plugin browser etc */ | 998 | /* don't enter wps from plugin browser etc */ |
999 | if (*tc.dirfilter < NUM_FILTER_MODES) | 999 | if (*tc.dirfilter < NUM_FILTER_MODES) |
1000 | { | 1000 | { |
1001 | if (mpeg_status() & MPEG_STATUS_PLAY) | 1001 | if (audio_status() & AUDIO_STATUS_PLAY) |
1002 | { | 1002 | { |
1003 | start_wps=true; | 1003 | start_wps=true; |
1004 | } | 1004 | } |
@@ -1539,7 +1539,7 @@ int ft_play_dirname(int start_index) | |||
1539 | char dirname_mp3_filename[MAX_PATH+1]; | 1539 | char dirname_mp3_filename[MAX_PATH+1]; |
1540 | struct entry *dircache = tc.dircache; | 1540 | struct entry *dircache = tc.dircache; |
1541 | 1541 | ||
1542 | if (mpeg_status() & MPEG_STATUS_PLAY) | 1542 | if (audio_status() & AUDIO_STATUS_PLAY) |
1543 | return 0; | 1543 | return 0; |
1544 | 1544 | ||
1545 | snprintf(dirname_mp3_filename, sizeof(dirname_mp3_filename), "%s/%s/%s", | 1545 | snprintf(dirname_mp3_filename, sizeof(dirname_mp3_filename), "%s/%s/%s", |
@@ -1566,7 +1566,7 @@ void ft_play_filename(char *dir, char *file) | |||
1566 | { | 1566 | { |
1567 | char name_mp3_filename[MAX_PATH+1]; | 1567 | char name_mp3_filename[MAX_PATH+1]; |
1568 | 1568 | ||
1569 | if (mpeg_status() & MPEG_STATUS_PLAY) | 1569 | if (audio_status() & AUDIO_STATUS_PLAY) |
1570 | return; | 1570 | return; |
1571 | 1571 | ||
1572 | if (strcasecmp(&file[strlen(file) - strlen(file_thumbnail_ext)], | 1572 | if (strcasecmp(&file[strlen(file) - strlen(file_thumbnail_ext)], |