rockbox/lib
Adam Sampson 1f8ea9fe27 Opus: update resume offset correctly while playing.
The codec wasn't calling ci->set_offset() while decoding; as a result,
the saved offset in ci.id3->offset was only updated at the start of the
file and when seeking.

To reproduce the problem in the simulator or on a real device:
- Start playing an Opus file.
- Let it play until 15s, then turn the player off.
- Turn back on and resume playback. This'll resume correctly from 15s
  (using time-based resume, I think, as the offset was 0?).
- Let it play until 30s, then turn the player off again.
- Turn back on and resume playback. This'll resume from 15s, based on
  the initial position from last time, when it should resume from 30s.

I believe this will also fix FS#12799 ("Resuming opus file from bookmark
is not working correctly").

Change-Id: Iba67368e0029c968ef802693767e0722719bc38b
2016-09-07 19:44:37 +02:00
..
arm_support build system: unify/simplify library handling a bit. 2012-03-26 22:27:40 +02:00
fixedpoint Revert "Don't set CORE_GCSECTIONS in fixedpoint.make." 2013-05-04 21:41:49 +02:00
libsetjmp Deprecate the EXTRA_LIBS variable. 2013-01-24 16:06:45 +01:00
rbcodec Opus: update resume offset correctly while playing. 2016-09-07 19:44:37 +02:00
skin_parser Limit more variables to file scope 2015-01-11 21:40:51 +01:00
tlsf lua: Switch memory allocator from dl to tlsf 2013-08-26 09:42:47 +02:00
unwarminder ARM unwinder for thumb: Fix broken MOV opcode 2015-01-12 19:36:58 +01:00