diff options
author | Hardeep Sidhu <dyp@pobox.com> | 2005-06-25 04:46:25 +0000 |
---|---|---|
committer | Hardeep Sidhu <dyp@pobox.com> | 2005-06-25 04:46:25 +0000 |
commit | 74d082c03892ae551cf4a72bb27af91fe8e1ed28 (patch) | |
tree | 227ede22869e6aa2e4f919a38cc3638ee0d76cfe /apps/settings.h | |
parent | 1224d578e8ef250cacc86ba3e97408446867baa6 (diff) | |
download | rockbox-74d082c03892ae551cf4a72bb27af91fe8e1ed28.tar.gz rockbox-74d082c03892ae551cf4a72bb27af91fe8e1ed28.zip |
Added new shuffle repeat mode that reshuffles playlist before repeating. Also added new shuffled insert mode that randomly inserts selected track(s) somewhere between current track and end of playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6861 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/settings.h b/apps/settings.h index 7e0be44c41..bb4f5fbf32 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -224,7 +224,7 @@ struct user_settings | |||
224 | 224 | ||
225 | /* misc options */ | 225 | /* misc options */ |
226 | 226 | ||
227 | int repeat_mode; /* 0=off 1=repeat all 2=repeat one */ | 227 | int repeat_mode; /* 0=off 1=repeat all 2=repeat one 3=shuffle */ |
228 | int dirfilter; /* 0=display all, 1=only supported, 2=only music, | 228 | int dirfilter; /* 0=display all, 1=only supported, 2=only music, |
229 | 3=dirs+playlists, 4=ID3 database */ | 229 | 3=dirs+playlists, 4=ID3 database */ |
230 | bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */ | 230 | bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */ |
@@ -387,7 +387,8 @@ extern const char rec_base_directory[]; | |||
387 | #define SETTINGS_ALL 3 /* both */ | 387 | #define SETTINGS_ALL 3 /* both */ |
388 | 388 | ||
389 | /* repeat mode options */ | 389 | /* repeat mode options */ |
390 | enum { REPEAT_OFF, REPEAT_ALL, REPEAT_ONE, NUM_REPEAT_MODES }; | 390 | enum { REPEAT_OFF, REPEAT_ALL, REPEAT_ONE, REPEAT_SHUFFLE, |
391 | NUM_REPEAT_MODES }; | ||
391 | 392 | ||
392 | /* dir filter options */ | 393 | /* dir filter options */ |
393 | /* Note: Any new filter modes need to be added before NUM_FILTER_MODES. | 394 | /* Note: Any new filter modes need to be added before NUM_FILTER_MODES. |