diff options
Diffstat (limited to 'apps/status.c')
-rw-r--r-- | apps/status.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/status.c b/apps/status.c index d4736f3773..62eb03465c 100644 --- a/apps/status.c +++ b/apps/status.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include "settings.h" | 25 | #include "settings.h" |
26 | #include "status.h" | 26 | #include "status.h" |
27 | #include "mp3_playback.h" | 27 | #include "mp3_playback.h" |
28 | #include "mpeg.h" | 28 | #include "audio.h" |
29 | #include "wps.h" | 29 | #include "wps.h" |
30 | #ifdef HAVE_RTC | 30 | #ifdef HAVE_RTC |
31 | #include "timefuncs.h" | 31 | #include "timefuncs.h" |
@@ -75,16 +75,16 @@ void status_set_ffmode(enum playmode mode) | |||
75 | 75 | ||
76 | int current_playmode(void) | 76 | int current_playmode(void) |
77 | { | 77 | { |
78 | int mpeg_stat = mpeg_status(); | 78 | int audio_stat = audio_status(); |
79 | 79 | ||
80 | /* ff_mode can be either STATUS_FASTFORWARD or STATUS_FASTBACKWARD | 80 | /* ff_mode can be either STATUS_FASTFORWARD or STATUS_FASTBACKWARD |
81 | and that supercedes the other modes */ | 81 | and that supercedes the other modes */ |
82 | if(ff_mode) | 82 | if(ff_mode) |
83 | return ff_mode; | 83 | return ff_mode; |
84 | 84 | ||
85 | if(mpeg_stat & MPEG_STATUS_PLAY) | 85 | if(audio_stat & AUDIO_STATUS_PLAY) |
86 | { | 86 | { |
87 | if(mpeg_stat & MPEG_STATUS_PAUSE) | 87 | if(audio_stat & AUDIO_STATUS_PAUSE) |
88 | return STATUS_PAUSE; | 88 | return STATUS_PAUSE; |
89 | else | 89 | else |
90 | return STATUS_PLAY; | 90 | return STATUS_PLAY; |
@@ -92,9 +92,9 @@ int current_playmode(void) | |||
92 | #if CONFIG_HWCODEC == MAS3587F | 92 | #if CONFIG_HWCODEC == MAS3587F |
93 | else | 93 | else |
94 | { | 94 | { |
95 | if(mpeg_stat & MPEG_STATUS_RECORD) | 95 | if(audio_stat & AUDIO_STATUS_RECORD) |
96 | { | 96 | { |
97 | if(mpeg_stat & MPEG_STATUS_PAUSE) | 97 | if(audio_stat & AUDIO_STATUS_PAUSE) |
98 | return STATUS_RECORD_PAUSE; | 98 | return STATUS_RECORD_PAUSE; |
99 | else | 99 | else |
100 | return STATUS_RECORD; | 100 | return STATUS_RECORD; |