summaryrefslogtreecommitdiff
path: root/apps/playlist.h
diff options
context:
space:
mode:
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
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);
177int playlist_remove_all_tracks(struct playlist_info *playlist); 178int playlist_remove_all_tracks(struct playlist_info *playlist);
179void playlist_update_resume_index(void);
178 180
179#endif /* __PLAYLIST_H__ */ 181#endif /* __PLAYLIST_H__ */