summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-05-09 18:27:25 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-05-09 18:27:25 +0000
commit370455cc4159c2a780bb4c917b42490f6512f7df (patch)
tree1c815a863c42afc8dcd046c40970ebc69e6ad917
parent9ca29354e1de9859044bdcfce0309b0509bafb90 (diff)
downloadrockbox-370455cc4159c2a780bb4c917b42490f6512f7df.tar.gz
rockbox-370455cc4159c2a780bb4c917b42490f6512f7df.zip
Remove unused function audio_has_changed_track from apps/mpeg.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20893 a1c6a512-1295-4272-9138-f99709370657
-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)