summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 565fb5d075..efe7570bff 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -1091,6 +1091,9 @@ void mpeg_next(void)
1091#ifndef SIMULATOR 1091#ifndef SIMULATOR
1092 queue_post(&mpeg_queue, MPEG_NEXT, NULL); 1092 queue_post(&mpeg_queue, MPEG_NEXT, NULL);
1093#else 1093#else
1094 char* file = playlist_next(1);
1095 mp3info(&taginfo, file);
1096 current_track_counter++;
1094 playing = true; 1097 playing = true;
1095#endif 1098#endif
1096} 1099}
@@ -1100,6 +1103,9 @@ void mpeg_prev(void)
1100#ifndef SIMULATOR 1103#ifndef SIMULATOR
1101 queue_post(&mpeg_queue, MPEG_PREV, NULL); 1104 queue_post(&mpeg_queue, MPEG_PREV, NULL);
1102#else 1105#else
1106 char* file = playlist_next(-1);
1107 mp3info(&taginfo, file);
1108 current_track_counter--;
1103 playing = true; 1109 playing = true;
1104#endif 1110#endif
1105} 1111}