summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorMichael Hohmuth <sideral@rockbox.org>2011-05-13 22:28:47 +0000
committerMichael Hohmuth <sideral@rockbox.org>2011-05-13 22:28:47 +0000
commit5aec3c2400fdd47c7b2098f1a1c5506a6aa3156c (patch)
tree875e48e0cf80f749a79d138b8787d84568171f70 /apps/settings.h
parent0a070c54202d946b37946343ea2f083fee82871a (diff)
downloadrockbox-5aec3c2400fdd47c7b2098f1a1c5506a6aa3156c.tar.gz
rockbox-5aec3c2400fdd47c7b2098f1a1c5506a6aa3156c.zip
FS#11931 part 2: Allow a short rewind when playback is paused. Patch
by John Morris. This patch adds an option to rewind the current track by a few seconds when it is paused, irrespective of what has caused the pause. This is useful for audiobooks and podcasts to allow the listener to recall where the track was left off. The patch subsumes the existing rewind-on-headphone-unplug feature and extends it to all invocations of pause: play/pause button (or touch area), headphone removal, and power-supply unplug in car-adapter mode. It also subsumes FS#9448 (rewind on fade). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29876 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 3f49cfcb2c..bed88c82ea 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -483,9 +483,9 @@ struct user_settings
483 int touchpad_sensitivity; 483 int touchpad_sensitivity;
484#endif 484#endif
485 485
486 int pause_rewind; /* time in s to rewind when pausing */
486#ifdef HAVE_HEADPHONE_DETECTION 487#ifdef HAVE_HEADPHONE_DETECTION
487 int unplug_mode; /* pause on headphone unplug */ 488 int unplug_mode; /* pause on headphone unplug */
488 int unplug_rw; /* time in s to rewind when pausing */
489 bool unplug_autoresume; /* disable auto-resume if no phones */ 489 bool unplug_autoresume; /* disable auto-resume if no phones */
490#endif 490#endif
491 491