diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-05-09 18:27:25 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-05-09 18:27:25 +0000 |
commit | 370455cc4159c2a780bb4c917b42490f6512f7df (patch) | |
tree | 1c815a863c42afc8dcd046c40970ebc69e6ad917 /apps/mpeg.c | |
parent | 9ca29354e1de9859044bdcfce0309b0509bafb90 (diff) | |
download | rockbox-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
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) |