summaryrefslogtreecommitdiffstats
path: root/apps/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/playlist.h b/apps/playlist.h
index 1ab330e513..ef943f1bd9 100644
--- a/apps/playlist.h
+++ b/apps/playlist.h
@@ -28,6 +28,7 @@
#include "kernel.h"
#include "metadata.h"
#include "rbpaths.h"
+#include "chunk_alloc.h"
#define PLAYLIST_ATTR_QUEUED 0x01
#define PLAYLIST_ATTR_INSERTED 0x02
@@ -84,10 +85,10 @@ struct playlist_info
global_settings.max_files_in_playlist */
int num_inserted_tracks; /* number of tracks inserted */
volatile unsigned long *indices; /* array of indices */
- int buffer_handle; /* handle to the below buffer (-1 if non-buflib) */
- volatile char *buffer;/* buffer for in-ram playlists */
- int buffer_size; /* size of buffer */
- int buffer_end_pos; /* last position where buffer was written */
+
+ struct chunk_alloc_header name_chunk_buffer; /* chunk buffer for
+ in-ram playlist */
+
int index; /* index of current playing track */
int first_index; /* index of first song in playlist */
int amount; /* number of tracks in the index */