summaryrefslogtreecommitdiffstats
path: root/apps/playlist.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-04-07 21:38:51 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-04-07 21:38:51 +0000
commit39d9d8bab1e46c83df4a35f50d9217b6912b7097 (patch)
treee84916e2263ae7da193549973b93bf3d6fad6939 /apps/playlist.h
parent4df825be4325919a843cdb1181bc435645212a51 (diff)
downloadrockbox-39d9d8bab1e46c83df4a35f50d9217b6912b7097.tar.gz
rockbox-39d9d8bab1e46c83df4a35f50d9217b6912b7097.tar.bz2
rockbox-39d9d8bab1e46c83df4a35f50d9217b6912b7097.zip
Fix red and yellow. Move resume_index from mp3entry to playlist_info struct. Bump codec api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29691 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index e5826202fb..a0e3b579f7 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -90,6 +90,7 @@ struct playlist_info
int buffer_end_pos; /* last position where buffer was written */
int index; /* index of current playing track */
int first_index; /* index of first song in playlist */
+ int resume_index; /* index of playing track to resume */
int amount; /* number of tracks in the index */
int last_insert_pos; /* last position we inserted a track */
int seed; /* shuffle seed */
@@ -175,5 +176,6 @@ int playlist_directory_tracksearch(const char* dirname, bool recurse,
int (*callback)(char*, void*),
void* context);
int playlist_remove_all_tracks(struct playlist_info *playlist);
+void playlist_update_resume_index(void);
#endif /* __PLAYLIST_H__ */