diff options
Diffstat (limited to 'apps/playlist.h')
-rw-r--r-- | apps/playlist.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/playlist.h b/apps/playlist.h index f14b5c6460..6dd5535df1 100644 --- a/apps/playlist.h +++ b/apps/playlist.h | |||
@@ -80,15 +80,16 @@ struct playlist_info | |||
80 | int control_fd; /* descriptor of the open control file */ | 80 | int control_fd; /* descriptor of the open control file */ |
81 | bool control_created; /* has control file been created? */ | 81 | bool control_created; /* has control file been created? */ |
82 | int dirlen; /* Length of the path to the playlist file */ | 82 | int dirlen; /* Length of the path to the playlist file */ |
83 | unsigned long *indices; /* array of indices */ | 83 | volatile unsigned long *indices; /* array of indices */ |
84 | int *filenames; /* Array of dircache indices */ | 84 | volatile int *filenames; /* Array of dircache indices */ |
85 | int max_playlist_size; /* Max number of files in playlist. Mirror of | 85 | int max_playlist_size; /* Max number of files in playlist. Mirror of |
86 | global_settings.max_files_in_playlist */ | 86 | global_settings.max_files_in_playlist */ |
87 | bool in_ram; /* playlist stored in ram (dirplay) */ | 87 | bool in_ram; /* playlist stored in ram (dirplay) */ |
88 | int buffer_handle; /* handle to the below buffer (-1 if non-buflib) */ | ||
88 | 89 | ||
89 | union { | 90 | union { |
90 | char *buffer; /* buffer for in-ram playlists */ | 91 | volatile char *buffer;/* buffer for in-ram playlists */ |
91 | int *seek_buf; /* buffer for seeks in real playlists */ | 92 | int *seek_buf; /* buffer for seeks in real playlists */ |
92 | }; | 93 | }; |
93 | int buffer_size; /* size of buffer */ | 94 | int buffer_size; /* size of buffer */ |
94 | int buffer_end_pos; /* last position where buffer was written */ | 95 | int buffer_end_pos; /* last position where buffer was written */ |