mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
add chunk_alloc to playlist.c
Change-Id: Ia2e02a61f0b269dc0508717a56a2ca1a334d2378
This commit is contained in:
parent
7faf6be35f
commit
89c021fbfa
2 changed files with 51 additions and 34 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue