1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Michael Hohmuth 2011-05-13 22:28:47 +00:00
parent 0a070c5420
commit 5aec3c2400
6 changed files with 36 additions and 26 deletions

View file

@ -2069,19 +2069,16 @@
</phrase>
<phrase>
id: LANG_HEADPHONE_UNPLUG_RW
desc: in pause_phones_menu.
desc: deprecated
user: core
<source>
*: none
headphone_detection: "Duration to Rewind"
*: ""
</source>
<dest>
*: none
headphone_detection: "Duration to Rewind"
*: ""
</dest>
<voice>
*: none
headphone_detection: "Duration to Rewind"
*: ""
</voice>
</phrase>
<phrase>
@ -12744,3 +12741,17 @@
*: "In custom directories only"
</voice>
</phrase>
<phrase>
id: LANG_PAUSE_REWIND
desc: Seconds to rewind when rewind on pause is enabled.
user: core
<source>
*: "Rewind on Pause"
</source>
<dest>
*: "Rewind on Pause"
</dest>
<voice>
*: "Rewind on Pause"
</voice>
</phrase>