From f31569019ff96989503d617264b1c0b575daee85 Mon Sep 17 00:00:00 2001 From: bertrik Date: Sat, 9 May 2009 18:27:25 +0000 Subject: [PATCH] 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 --- apps/mpeg.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/apps/mpeg.c b/apps/mpeg.c index 5ebf58fcf..0353bcc39 100644 --- a/apps/mpeg.c +++ b/apps/mpeg.c @@ -107,7 +107,6 @@ struct trackdata static struct trackdata trackdata[MAX_TRACK_ENTRIES]; static unsigned int current_track_counter = 0; -static unsigned int last_track_counter = 0; /* Play time of the previous track */ unsigned long prev_track_elapsed; @@ -2069,16 +2068,6 @@ struct mp3entry* audio_next_track() #endif /* !SIMULATOR */ } -bool audio_has_changed_track(void) -{ - if(last_track_counter != current_track_counter) - { - last_track_counter = current_track_counter; - return true; - } - return false; -} - #if CONFIG_CODEC == MAS3587F #ifndef SIMULATOR void audio_init_playback(void) -- 2.11.4.GIT