rockbox/lib/rbcodec
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
..
codecs Implement time-based resume and playback start. 2014-03-10 04:12:30 +01:00
dsp DSP Compressor: Sidechain, Exponential Atk/Rls 2013-12-15 22:24:08 +01:00
metadata Proposed fix for FS#12878: Zero-length embedded album art prevents mp3 playback 2013-12-23 17:55:15 +01:00
test Fix more reds. 2014-03-03 20:26:08 +01:00
platform.h Missed removing a couple unwanted includes in previous commit. 2013-05-27 03:40:02 -04:00
rbcodec.make Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
rbcodecconfig-example.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
rbcodecplatform-unix.h rbcodec: abstract tdspeed buffer allocation 2012-05-07 10:29:07 +02:00
SOURCES Rename all the "lin_resample..." stuff to simply "resample_...". 2013-05-07 00:35:46 -04:00