summaryrefslogtreecommitdiff
path: root/apps/playlist.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-04-27 03:08:23 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-04-27 03:08:23 +0000
commitc537d5958e8b421ac4f9bef6c8b9e7425a6cf167 (patch)
tree7ed36518fb6524da7bbd913ba7619b85b5d15d23 /apps/playlist.h
parentdcf0f8de4a37ff1d2ea510aef75fa67977a8bdcc (diff)
downloadrockbox-c537d5958e8b421ac4f9bef6c8b9e7425a6cf167.tar.gz
rockbox-c537d5958e8b421ac4f9bef6c8b9e7425a6cf167.zip
Commit FS#12069 - Playback rework - first stages. Gives as thorough as possible a treatment of codec management, track change and metadata logic as possible while maintaining fairly narrow focus and not rewriting everything all at once. Please see the rockbox-dev mail archive on 2011-04-25 (Playback engine rework) for a more thorough manifest of what was addressed. Plugins and codecs become incompatible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29785 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index a0e3b579f7..9c45769981 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -90,7 +90,6 @@ struct playlist_info
90 int buffer_end_pos; /* last position where buffer was written */ 90 int buffer_end_pos; /* last position where buffer was written */
91 int index; /* index of current playing track */ 91 int index; /* index of current playing track */
92 int first_index; /* index of first song in playlist */ 92 int first_index; /* index of first song in playlist */
93 int resume_index; /* index of playing track to resume */
94 int amount; /* number of tracks in the index */ 93 int amount; /* number of tracks in the index */
95 int last_insert_pos; /* last position we inserted a track */ 94 int last_insert_pos; /* last position we inserted a track */
96 int seed; /* shuffle seed */ 95 int seed; /* shuffle seed */
@@ -132,7 +131,6 @@ const char *playlist_peek(int steps, char* buf, size_t buf_size);
132int playlist_next(int steps); 131int playlist_next(int steps);
133bool playlist_next_dir(int direction); 132bool playlist_next_dir(int direction);
134int playlist_get_resume_info(int *resume_index); 133int playlist_get_resume_info(int *resume_index);
135int playlist_get_index(void);
136int playlist_update_resume_info(const struct mp3entry* id3); 134int playlist_update_resume_info(const struct mp3entry* id3);
137int playlist_get_display_index(void); 135int playlist_get_display_index(void);
138int playlist_amount(void); 136int playlist_amount(void);
@@ -176,6 +174,5 @@ int playlist_directory_tracksearch(const char* dirname, bool recurse,
176 int (*callback)(char*, void*), 174 int (*callback)(char*, void*),
177 void* context); 175 void* context);
178int playlist_remove_all_tracks(struct playlist_info *playlist); 176int playlist_remove_all_tracks(struct playlist_info *playlist);
179void playlist_update_resume_index(void);
180 177
181#endif /* __PLAYLIST_H__ */ 178#endif /* __PLAYLIST_H__ */