summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/mpeg.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/mpeg.c b/apps/mpeg.c
index 5ebf58fcf0..0353bcc399 100644
--- a/apps/mpeg.c
+++ b/apps/mpeg.c
@@ -107,7 +107,6 @@ struct trackdata
107static struct trackdata trackdata[MAX_TRACK_ENTRIES]; 107static struct trackdata trackdata[MAX_TRACK_ENTRIES];
108 108
109static unsigned int current_track_counter = 0; 109static unsigned int current_track_counter = 0;
110static unsigned int last_track_counter = 0;
111 110
112/* Play time of the previous track */ 111/* Play time of the previous track */
113unsigned long prev_track_elapsed; 112unsigned long prev_track_elapsed;
@@ -2069,16 +2068,6 @@ struct mp3entry* audio_next_track()
2069#endif /* !SIMULATOR */ 2068#endif /* !SIMULATOR */
2070} 2069}
2071 2070
2072bool audio_has_changed_track(void)
2073{
2074 if(last_track_counter != current_track_counter)
2075 {
2076 last_track_counter = current_track_counter;
2077 return true;
2078 }
2079 return false;
2080}
2081
2082#if CONFIG_CODEC == MAS3587F 2071#if CONFIG_CODEC == MAS3587F
2083#ifndef SIMULATOR 2072#ifndef SIMULATOR
2084void audio_init_playback(void) 2073void audio_init_playback(void)