diff options
Diffstat (limited to 'apps/mpeg.c')
-rw-r--r-- | apps/mpeg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/mpeg.c b/apps/mpeg.c index 7917015a9b..1ff46b049e 100644 --- a/apps/mpeg.c +++ b/apps/mpeg.c | |||
@@ -87,7 +87,7 @@ extern enum /* from mp3_playback.c */ | |||
87 | } mpeg_mode; | 87 | } mpeg_mode; |
88 | #endif /* CONFIG_CODEC == MAS3587F */ | 88 | #endif /* CONFIG_CODEC == MAS3587F */ |
89 | 89 | ||
90 | extern char* playlist_peek(int steps); | 90 | extern const char* playlist_peek(int steps); |
91 | extern bool playlist_check(int steps); | 91 | extern bool playlist_check(int steps); |
92 | extern int playlist_next(int steps); | 92 | extern int playlist_next(int steps); |
93 | extern int playlist_amount(void); | 93 | extern int playlist_amount(void); |
@@ -929,7 +929,7 @@ static int new_file(int steps) | |||
929 | } | 929 | } |
930 | 930 | ||
931 | do { | 931 | do { |
932 | char *trackname; | 932 | const char *trackname; |
933 | 933 | ||
934 | trackname = playlist_peek( start + steps ); | 934 | trackname = playlist_peek( start + steps ); |
935 | if ( !trackname ) | 935 | if ( !trackname ) |
@@ -2741,7 +2741,7 @@ void audio_next(void) | |||
2741 | queue_remove_from_head(&mpeg_queue, MPEG_NEED_DATA); | 2741 | queue_remove_from_head(&mpeg_queue, MPEG_NEED_DATA); |
2742 | queue_post(&mpeg_queue, MPEG_NEXT, 0); | 2742 | queue_post(&mpeg_queue, MPEG_NEXT, 0); |
2743 | #else /* SIMULATOR */ | 2743 | #else /* SIMULATOR */ |
2744 | char* file; | 2744 | const char* file; |
2745 | int steps = 1; | 2745 | int steps = 1; |
2746 | int index; | 2746 | int index; |
2747 | 2747 | ||
@@ -2770,7 +2770,7 @@ void audio_prev(void) | |||
2770 | queue_remove_from_head(&mpeg_queue, MPEG_NEED_DATA); | 2770 | queue_remove_from_head(&mpeg_queue, MPEG_NEED_DATA); |
2771 | queue_post(&mpeg_queue, MPEG_PREV, 0); | 2771 | queue_post(&mpeg_queue, MPEG_PREV, 0); |
2772 | #else /* SIMULATOR */ | 2772 | #else /* SIMULATOR */ |
2773 | char* file; | 2773 | const char* file; |
2774 | int steps = -1; | 2774 | int steps = -1; |
2775 | int index; | 2775 | int index; |
2776 | 2776 | ||