diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-04-07 21:38:51 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-04-07 21:38:51 +0000 |
commit | 39d9d8bab1e46c83df4a35f50d9217b6912b7097 (patch) | |
tree | e84916e2263ae7da193549973b93bf3d6fad6939 /apps/playlist.h | |
parent | 4df825be4325919a843cdb1181bc435645212a51 (diff) | |
download | rockbox-39d9d8bab1e46c83df4a35f50d9217b6912b7097.tar.gz 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.h | 2 |
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 | |||
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 */ | ||
93 | int amount; /* number of tracks in the index */ | 94 | int amount; /* number of tracks in the index */ |
94 | int last_insert_pos; /* last position we inserted a track */ | 95 | int last_insert_pos; /* last position we inserted a track */ |
95 | int seed; /* shuffle seed */ | 96 | int seed; /* shuffle seed */ |
@@ -175,5 +176,6 @@ int playlist_directory_tracksearch(const char* dirname, bool recurse, | |||
175 | int (*callback)(char*, void*), | 176 | int (*callback)(char*, void*), |
176 | void* context); | 177 | void* context); |
177 | int playlist_remove_all_tracks(struct playlist_info *playlist); | 178 | int playlist_remove_all_tracks(struct playlist_info *playlist); |
179 | void playlist_update_resume_index(void); | ||
178 | 180 | ||
179 | #endif /* __PLAYLIST_H__ */ | 181 | #endif /* __PLAYLIST_H__ */ |