diff options
Diffstat (limited to 'apps/mpeg.c')
-rw-r--r-- | apps/mpeg.c | 11 |
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 | |||
107 | static struct trackdata trackdata[MAX_TRACK_ENTRIES]; | 107 | static struct trackdata trackdata[MAX_TRACK_ENTRIES]; |
108 | 108 | ||
109 | static unsigned int current_track_counter = 0; | 109 | static unsigned int current_track_counter = 0; |
110 | static unsigned int last_track_counter = 0; | ||
111 | 110 | ||
112 | /* Play time of the previous track */ | 111 | /* Play time of the previous track */ |
113 | unsigned long prev_track_elapsed; | 112 | unsigned long prev_track_elapsed; |
@@ -2069,16 +2068,6 @@ struct mp3entry* audio_next_track() | |||
2069 | #endif /* !SIMULATOR */ | 2068 | #endif /* !SIMULATOR */ |
2070 | } | 2069 | } |
2071 | 2070 | ||
2072 | bool 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 |
2084 | void audio_init_playback(void) | 2073 | void audio_init_playback(void) |