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_menu.c | |
parent | 1224d578e8ef250cacc86ba3e97408446867baa6 (diff) |
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_menu.c')
-rw-r--r-- | apps/settings_menu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index efca1a85fb..b10c7d32ab 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -584,12 +584,13 @@ static bool repeat_mode(void) static const struct opt_items names[] = { { STR(LANG_OFF) }, { STR(LANG_REPEAT_ALL) }, - { STR(LANG_REPEAT_ONE) } + { STR(LANG_REPEAT_ONE) }, + { STR(LANG_SHUFFLE) }, }; int old_repeat = global_settings.repeat_mode; result = set_option( str(LANG_REPEAT), &global_settings.repeat_mode, - INT, names, 3, NULL ); + INT, names, 4, NULL ); if (old_repeat != global_settings.repeat_mode) audio_flush_and_reload_tracks(); |