summaryrefslogtreecommitdiff
path: root/apps/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index 6314e9a6ee..a331838fde 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -88,10 +88,7 @@ struct playlist_info
88 bool in_ram; /* playlist stored in ram (dirplay) */ 88 bool in_ram; /* playlist stored in ram (dirplay) */
89 int buffer_handle; /* handle to the below buffer (-1 if non-buflib) */ 89 int buffer_handle; /* handle to the below buffer (-1 if non-buflib) */
90 90
91 union { 91 volatile char *buffer;/* buffer for in-ram playlists */
92 volatile char *buffer;/* buffer for in-ram playlists */
93 int *seek_buf; /* buffer for seeks in real playlists */
94 };
95 int buffer_size; /* size of buffer */ 92 int buffer_size; /* size of buffer */
96 int buffer_end_pos; /* last position where buffer was written */ 93 int buffer_end_pos; /* last position where buffer was written */
97 int index; /* index of current playing track */ 94 int index; /* index of current playing track */
@@ -184,7 +181,8 @@ char *playlist_get_name(const struct playlist_info* playlist, char *buf,
184 int buf_size); 181 int buf_size);
185int playlist_get_track_info(struct playlist_info* playlist, int index, 182int playlist_get_track_info(struct playlist_info* playlist, int index,
186 struct playlist_track_info* info); 183 struct playlist_track_info* info);
187int playlist_save(struct playlist_info* playlist, char *filename); 184int playlist_save(struct playlist_info* playlist, char *filename,
185 void* temp_buffer, size_t temp_buffer_size);
188int playlist_directory_tracksearch(const char* dirname, bool recurse, 186int playlist_directory_tracksearch(const char* dirname, bool recurse,
189 int (*callback)(char*, void*), 187 int (*callback)(char*, void*),
190 void* context); 188 void* context);