rockbox/apps
Michael Sevakis 31b7122867 Implement time-based resume and playback start.
This complements offset-based resume and playback start funcionality.
The implementation is global on both HWCODEC and SWCODEC.

Basically, if either the specified elapsed or offset are non-zero,
it indicates a mid-track resume.

To resume by time only, set elapsed to nonzero and offset to zero.
To resume by offset only, set offset to nonzero and elapsed to zero.

Which one the codec uses and which has priority is up to the codec;
however, using an elapsed time covers more cases:

* Codecs not able to use an offset such as VGM or other atomic
formats

* Starting playback at a nonzero elapsed time from a source that
contains no offset, such as a cuesheet

The change re-versions pretty much everything from tagcache to nvram.

Change-Id: Ic7aebb24e99a03ae99585c5e236eba960d163f38
Reviewed-on: http://gerrit.rockbox.org/516
Reviewed-by: Michael Sevakis <jethead71@rockbox.org>
Tested: Michael Sevakis <jethead71@rockbox.org>
2014-03-10 04:12:30 +01:00
..
bitmaps apps/bitmaps: Replace pseudo-native default icons with mono ones. 2014-01-05 19:35:23 +01:00
gui Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
hosted/android Get rid of some superfluous single-purpose functions in playback. 2013-07-13 00:08:51 -04:00
iap ipods: fix DEBUG builds 2014-01-16 08:19:27 +01:00
keymaps Samsung YP-R1 target port 2014-02-05 09:56:21 +01:00
lang Touchscreen: Show a line separator in lists. 2014-03-03 15:14:16 +01:00
menus Touchscreen: Show a line separator in lists. 2014-03-03 15:14:16 +01:00
player
plugins Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
radio radio: Fix crash with radioart after skipping some stations 2014-01-15 14:48:55 +01:00
recorder bmp loader: Fix loading of monochrome/greyscale BMPs with newer headers. 2014-01-11 14:19:43 +01:00
abrepeat.c abrepeat: drop some inline's and rearrange code to save some size since this stuff is hardly speed critical. 2011-01-18 16:11:33 +00:00
abrepeat.h abrepeat: drop some inline's and rearrange code to save some size since this stuff is hardly speed critical. 2011-01-18 16:11:33 +00:00
action.c touch devices: Disable touch on softlock. 2013-09-05 20:02:07 +02:00
action.h skin_engine: Make pressing the setting bar touch region work 2012-07-06 14:28:34 +10:00
alarm_menu.c Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
alarm_menu.h
appevents.h Get rid of some superfluous single-purpose functions in playback. 2013-07-13 00:08:51 -04:00
applimits.h
apps.make Android: use APPEXTRA instead of makefile hack 2011-03-11 16:08:36 +00:00
audio_path.c Samsung YP-R1 target port 2014-02-05 09:56:21 +01:00
audio_thread.c talk: Remove superflous call to talk_init(). 2014-02-02 19:40:38 +01:00
audio_thread.h Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
beep.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
bookmark.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
bookmark.h Fix minor bookmark problems/Enhance bookmark functions 2012-03-12 08:54:02 +01:00
buffering.c SWCODEC Audio: Add some INIT_ATTR's to get a few bytes back. 2013-06-29 22:29:23 -04:00
buffering.h Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR. 2011-12-19 20:12:52 +00:00
codec_thread.c Do not include kernel.h in system.h. 2014-01-05 19:35:23 +01:00
codec_thread.h Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
codecs.c Update software recording engine to latest codec interface. 2013-06-30 00:40:27 +02:00
core_asmdefs.c
cuesheet.c cuesheet: Fix another possible buffer overflow with long filenames. 2014-01-11 18:24:48 +01:00
cuesheet.h FS #12419 : Support for embedded cuesheets. 2011-12-16 10:09:41 +00:00
debug_menu.c storage: Add STORAGE_HOSTFS 2014-02-23 20:23:51 +01:00
debug_menu.h dbg_ports() : move proto to system.h 2012-01-04 05:21:44 +00:00
enc_config.c
enc_config.h
features.txt apps: factor depth3d capability in features.txt 2013-09-25 14:31:39 +02:00
filetree.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
filetree.h
filetypes.c Fix color of files with no extension. 2013-06-05 18:35:09 -04:00
filetypes.h Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR. 2011-12-19 20:12:52 +00:00
fracmul.h Build librbcodec with DSP and metadata. 2012-03-18 12:00:39 +01:00
keyboard.h
language.c Add stdio.h include for SEEK_SET define to various files. 2010-12-25 18:43:34 +00:00
language.h
logfdisp.c
logfdisp.h
main.c Fix logdisk 2013-08-16 21:59:16 +02:00
menu.c menus: Stop scrolling before entering the USB screen or remnants of the previous list could appear on it. 2014-01-16 00:25:40 +01:00
menu.h FS#12251 - User shortcuts in the main menu. 2011-11-15 13:22:02 +00:00
misc.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
misc.h usb screen: Push the usb screen onto the activity stack. This enables %cs tag support for it. 2014-01-16 00:26:45 +01:00
mpeg.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
mpeg.h
onplay.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
onplay.h FS#12251 - User shortcuts in the main menu. 2011-11-15 13:22:02 +00:00
pcmbuf.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pcmbuf.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
playback.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
playback.h playback,talk: Share audiobuffer via core_alloc_maximum(). 2013-12-23 12:17:38 +01:00
playlist.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
playlist.h Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
playlist_catalog.c FS#11808 - Major playlist handling changes (on disk playlists) 2011-07-20 14:11:15 +00:00
playlist_catalog.h FS#11808 - Major playlist handling changes (on disk playlists) 2011-07-20 14:11:15 +00:00
playlist_menu.h
playlist_viewer.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
playlist_viewer.h FS#11808 - Major playlist handling changes (on disk playlists) 2011-07-20 14:11:15 +00:00
plugin.c main_menu_config: New plugin to configur the main menu order 2014-02-13 22:11:23 +11:00
plugin.h Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
rbcodec_helpers.c Rename HAVE_PITCHSCREEN to HAVE_PITCHCONTROL 2012-05-09 14:32:38 +02:00
rbcodecconfig.h kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
rbcodecplatform.h rbcodec: abstract tdspeed buffer allocation 2012-05-07 10:29:07 +02:00
README
root_menu.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
root_menu.h main_menu_config: New plugin to configur the main menu order 2014-02-13 22:11:23 +11:00
screen_access.c Fix put_line via multiscreen API on remotes. Stupid me. 2014-01-08 10:45:00 +01:00
screen_access.h put_line/scrolling: Make the scroll engine inform custom scrollers about start/stop of scrolling. 2014-01-12 01:34:06 +01:00
screens.c Fix more reds. 2013-12-15 00:47:21 +01:00
screens.h
scrobbler.c Get rid of some superfluous single-purpose functions in playback. 2013-07-13 00:08:51 -04:00
scrobbler.h Get rid of some superfluous single-purpose functions in playback. 2013-07-13 00:08:51 -04:00
settings.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
settings.h Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
settings_list.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
settings_list.h Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
shortcuts.c Add set_sleeptimer_duration function in minutes 2012-10-06 11:59:13 +02:00
shortcuts.h shortcuts: talk the time and configure the sleep timeout 2011-12-08 10:23:46 +00:00
sound_menu.h
SOURCES Samsung YP-R1 target port 2014-02-05 09:56:21 +01:00
status.c
status.h
tagcache.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
tagcache.h Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
tagnavi.config FS#12132 patch 7: Add a new default format for untagged tracks: 2011-07-31 16:26:39 +00:00
tagtree.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
tagtree.h Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR. 2011-12-19 20:12:52 +00:00
talk.c talk: On hwcodec disabling DMA interrupt is required during buflib move 2014-02-03 12:43:05 +01:00
talk.h talk: Add debug menu entry to view statistics about talk engine. 2014-02-02 19:40:39 +01:00
tree.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
tree.h Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
usb_keymaps.c remove superfluous ifdef 2011-12-28 19:23:38 +00:00
usb_keymaps.h
voice_thread.c Fix warnings. 2014-02-03 12:33:33 +01:00
voice_thread.h voice_thread_init was left INIT_ATTR but is being called too late. 2012-05-21 15:21:36 -04:00

For general information see: docs/README
For API information see: docs/API