diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2008-06-28 17:55:53 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2008-06-28 17:55:53 +0000 |
commit | 2fb70bcabb1c871baf17ace7a82f9fda9ab721c6 (patch) | |
tree | 9047a029a90fd88805a09f5c85e1f8eb39de37c0 /apps/settings_list.c | |
parent | bcf9b5dfa6c575ac70271bdddf3ee7e5c1b0c9c6 (diff) |
implement smooth seeking acceleration for audio playback and mpegplayer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17843 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 6007570bf8..1e9bd185b7 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -666,8 +666,10 @@ const struct settings_list settings[] = { TABLE_SETTING(F_ALLOW_ARBITRARY_VALS, ff_rewind_min_step, LANG_FFRW_STEP, 1, "scan min step", NULL, UNIT_SEC, NULL, NULL, NULL, 14, 1,2,3,4,5,6,8,10,15,20,25,30,45,60), - INT_SETTING(0, ff_rewind_accel, LANG_FFRW_ACCEL, 3, "scan accel", UNIT_SEC, - 16, 0, -1, scanaccel_formatter, getlang_unit_0_is_off, NULL), + CHOICE_SETTING(0, ff_rewind_accel, LANG_FFRW_ACCEL, 2, + "seek accel", "very fast,fast,normal,slow,very slow", NULL, 5, + ID2P(LANG_VERY_FAST), ID2P(LANG_FAST), ID2P(LANG_NORMAL), + ID2P(LANG_SLOW) , ID2P(LANG_VERY_SLOW)), #if (CONFIG_CODEC == SWCODEC) && !defined(HAVE_FLASH_STORAGE) STRINGCHOICE_SETTING(0, buffer_margin, LANG_MP3BUFFER_MARGIN, 0,"antiskip", "5s,15s,30s,1min,2min,3min,5min,10min", NULL, 8, |