From 74d082c03892ae551cf4a72bb27af91fe8e1ed28 Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Sat, 25 Jun 2005 04:46:25 +0000 Subject: 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 --- apps/settings.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/settings.h') 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 /* misc options */ - int repeat_mode; /* 0=off 1=repeat all 2=repeat one */ + int repeat_mode; /* 0=off 1=repeat all 2=repeat one 3=shuffle */ int dirfilter; /* 0=display all, 1=only supported, 2=only music, 3=dirs+playlists, 4=ID3 database */ bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */ @@ -387,7 +387,8 @@ extern const char rec_base_directory[]; #define SETTINGS_ALL 3 /* both */ /* repeat mode options */ -enum { REPEAT_OFF, REPEAT_ALL, REPEAT_ONE, NUM_REPEAT_MODES }; +enum { REPEAT_OFF, REPEAT_ALL, REPEAT_ONE, REPEAT_SHUFFLE, +NUM_REPEAT_MODES }; /* dir filter options */ /* Note: Any new filter modes need to be added before NUM_FILTER_MODES. -- cgit v1.2.3