diff options
| author | Thom Johansen <thomj@rockbox.org> | 2008-07-14 20:39:30 +0000 |
|---|---|---|
| committer | Thom Johansen <thomj@rockbox.org> | 2008-07-14 20:39:30 +0000 |
| commit | 4a7e0c79498f7b19179482c8069bb1d99b61b7ca (patch) | |
| tree | 1164e12551715ba25ea587f6110c8f407091372f /apps/gui/gwps-common.c | |
| parent | 1f6ee2b91319a6053e356a5eb22b881d0bacee52 (diff) | |
| download | rockbox-4a7e0c79498f7b19179482c8069bb1d99b61b7ca.zip rockbox-4a7e0c79498f7b19179482c8069bb1d99b61b7ca.tar.gz rockbox-4a7e0c79498f7b19179482c8069bb1d99b61b7ca.tar.bz2 rockbox-4a7e0c79498f7b19179482c8069bb1d99b61b7ca.tar.xz | |
Rename and rework the "Study Mode" menu into the "Skip Length" setting. Update manual. Bump plugin API thanks to having changed global_settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18041 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps-common.c')
| -rw-r--r-- | apps/gui/gwps-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index b6a7c89..0ec89b7 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -162,9 +162,9 @@ bool update_onvol_change(struct gui_wps * gwps) void play_hop(int direction) { if(!wps_state.id3 || !wps_state.id3->length - || global_settings.study_hop_step == 0) + || global_settings.skip_length == 0) return; -#define STEP ((unsigned)global_settings.study_hop_step *1000) +#define STEP ((unsigned)global_settings.skip_length*60*1000) if(direction == 1 && wps_state.id3->length - wps_state.id3->elapsed < STEP+1000) { #if CONFIG_CODEC == SWCODEC |