1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/lib
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
..
bmp_smooth_scale.c fix bitmap scallers smooth_resize_bitmap() and simple_resize_bitmap() to properly handle LCD_STRIDEFORMAT == VERTICAL_STRIDE case 2010-09-29 20:38:08 +00:00
checkbox.c Remove a bunch of build conditions inside .c files 2010-08-25 19:14:02 +00:00
checkbox.h
configfile.c RaaA: Fix write locations of plugins 2011-03-02 23:43:54 +00:00
configfile.h correct comment in configfile.h, FS#11292 by Chris Savery. 2010-10-10 14:34:07 +00:00
display_text.c some changes to use of display_text. 2010-02-22 07:17:15 +00:00
display_text.h some changes to use of display_text. 2010-02-22 07:17:15 +00:00
feature_wrappers.h Make JPEG and BMP scaler optional with HAVE_JPEG and HAVE_BMP_SCALING, both defined for all targets that have HAVE_ALBUMART. Disable JPEG in PictureFlow and pluginlib album art search with 32KiB plugin buffer until PictureFlow 2009-05-04 15:46:41 +00:00
gcc-support.c Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets" 2012-10-24 14:05:39 +02:00
grey.h lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_coldfire.S
grey_core.c Consolidate identical fixedpoint exp and ln functions. 2013-04-09 19:07:35 -04:00
grey_draw.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_parm.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_scroll.c lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets. 2014-01-07 22:14:41 +01:00
grey_sh.S Fix assembler .size directives. Currently used binutils don't complain, but 2.21.1 treats these as errors. 2011-11-09 19:20:33 +00:00
helper.c * Rename backlight_force_on to backlight_ignore_timeout to make it clear what the function does. 2011-01-24 12:29:16 +00:00
helper.h * Rename backlight_force_on to backlight_ignore_timeout to make it clear what the function does. 2011-01-24 12:29:16 +00:00
highscore.c plugins: use lcd_putsf/lcd_putsxyf 2010-08-28 21:46:45 +00:00
highscore.h plugin: implement highscore_show for player and use it in rockblox. 2010-02-22 13:45:24 +00:00
jhash.c Add Bob Jenkins' lookup3 32-bit and 64-bit hashes to pluginlib. 2009-06-01 13:40:30 +00:00
jhash.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
jpeg_mem.h Plugin JPEG decoder for data in memory, along with test_mem_jpeg.c and bench_mem_jpeg.c plugins to test and benchmark it, and a line-length clean up in jpeg_load.c. 2009-05-08 03:46:48 +00:00
md5.c
md5.h Set svn:keywords property on .c and .h files that didn't already have it. Correct svn:executable property on some files. 2010-01-03 14:28:09 +00:00
mylcd.h Adapt OSD in plugin lib to be greylib compatible. 2012-12-18 19:16:26 -05:00
osd.c Adapt OSD in plugin lib to be greylib compatible. 2012-12-18 19:16:26 -05:00
osd.h Adapt OSD in plugin lib to be greylib compatible. 2012-12-18 19:16:26 -05:00
overlay.c load_code/overlay: Don't close plugin handle before calling the plugin. 2012-05-26 22:57:21 +02:00
overlay.h
picture.c Fix STRIDE macro for multiscreen and add stride support for picture lib. 2009-09-04 00:46:24 +00:00
picture.h Fix STRIDE macro for multiscreen and add stride support for picture lib. 2009-09-04 00:46:24 +00:00
playback_control.c Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
playback_control.h plugins/lib: remove out-dated comments about plugin api. 2010-02-25 12:14:36 +00:00
playergfx.c Remove a bunch of build conditions inside .c files 2010-08-25 19:14:02 +00:00
playergfx.h
pluginlib_actions.c Fix typo in apps/plugins/lib/pluginlib_actions.c 2013-11-17 21:27:18 +01:00
pluginlib_actions.h S#10387 - Rework pluginlib actions 2010-05-20 17:41:28 +00:00
pluginlib_albumart.c
pluginlib_bmp.c use different function to resize bitmap for greylib. 2010-10-10 14:24:11 +00:00
pluginlib_bmp.h use different function to resize bitmap for greylib. 2010-10-10 14:24:11 +00:00
pluginlib_exit.h Fix building simulator plugins on Cygwin. A DLL stub containing atexit is linked to the plugins, so give our version a prefix. 2010-08-26 15:44:32 +00:00
pluginlib_jpeg_idct_arm.S Core JPEG decoder improvements: 2009-06-19 02:56:00 +00:00
pluginlib_jpeg_load.c Hopefully all green now 2011-02-09 20:51:11 +00:00
pluginlib_jpeg_mem.c Add include to pluginlib_jpeg_mem.c to prevent warning noise with -Wmissing-prototypes. 2009-05-16 08:20:41 +00:00
pluginlib_resize.c
pluginlib_touchscreen.c lcd-common: Remove support for custom line heights from viewport. 2014-01-07 14:13:48 +01:00
pluginlib_touchscreen.h pluginlib_touchscreen: Rework API to offer wait-for-button APIs. 2012-01-27 09:15:05 +01:00
profile_plugin.c
profile_plugin.h
read_image.c FS#10496: remove function read_image_file_offset, it had a bug and is not used anyway. 2009-08-09 22:20:14 +00:00
read_image.h FS#10496: remove function read_image_file_offset, it had a bug and is not used anyway. 2009-08-09 22:20:14 +00:00
rgb_hsv.c
rgb_hsv.h
simple_viewer.c Initial commit of the Samsung YP-R0 port. 2011-12-24 11:56:46 +00:00
simple_viewer.h add simple text viewer to pluginlib and use this for dict to show description. 2010-06-08 11:07:36 +00:00
SOURCES Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
strncpy.c strncpy.c / assert.h : need to include _ansi.h 2010-07-25 14:53:06 +00:00
wrappers.h Hopefully all green now 2011-02-09 20:51:11 +00:00
xlcd.h
xlcd_core.c
xlcd_draw.c
xlcd_scroll.c Also fix uninitialized variables in xlcd_scroll_up()/xlcd_scroll_down() 2011-08-25 20:47:44 +00:00