summaryrefslogtreecommitdiff
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 @@
28#include "kernel.h" 28#include "kernel.h"
29#include "metadata.h" 29#include "metadata.h"
30#include "rbpaths.h" 30#include "rbpaths.h"
31#include "chunk_alloc.h"
31 32
32#define PLAYLIST_ATTR_QUEUED 0x01 33#define PLAYLIST_ATTR_QUEUED 0x01
33#define PLAYLIST_ATTR_INSERTED 0x02 34#define PLAYLIST_ATTR_INSERTED 0x02
@@ -84,10 +85,10 @@ struct playlist_info
84 global_settings.max_files_in_playlist */ 85 global_settings.max_files_in_playlist */
85 int num_inserted_tracks; /* number of tracks inserted */ 86 int num_inserted_tracks; /* number of tracks inserted */
86 volatile unsigned long *indices; /* array of indices */ 87 volatile unsigned long *indices; /* array of indices */
87 int buffer_handle; /* handle to the below buffer (-1 if non-buflib) */ 88
88 volatile char *buffer;/* buffer for in-ram playlists */ 89 struct chunk_alloc_header name_chunk_buffer; /* chunk buffer for
89 int buffer_size; /* size of buffer */ 90 in-ram playlist */
90 int buffer_end_pos; /* last position where buffer was written */ 91
91 int index; /* index of current playing track */ 92 int index; /* index of current playing track */
92 int first_index; /* index of first song in playlist */ 93 int first_index; /* index of first song in playlist */
93 int amount; /* number of tracks in the index */ 94 int amount; /* number of tracks in the index */