rockbox/lib
Andrew Ryabinin b770f63934 flac: fix seeking.
As comment in code states:
"It is possible for our seek to land in the middle of audio
data that looks exactly like a frame header from a future
version of an encoder.  When that happens, frame_sync() will
return false. But there is a remote possibility that it is
properly synced at such a "future-codec frame", so to make sure,
we wait to see several "unparseable" errors in a row before
bailing out."

Currently we wait for 10 "unparseable" errors. libFLAC waits for 20.
But I've got a valid flac+cue, wherein switching to certain track
gave me 24 "unparsaeable" errors. Therefore I increased
unparseable_count to 30.

Change-Id: I4e97a5385c729adf3d5075d41ea312622c69e548
Reviewed-on: http://gerrit.rockbox.org/658
Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
Reviewed-by: Boris Gjenero <boris.gjenero@gmail.com>
Tested-by: Andrew Ryabinin <ryabinin.a.a@gmail.com>
Reviewed-by: Andrew Ryabinin <ryabinin.a.a@gmail.com>
2013-11-18 07:45:59 +01: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 flac: fix seeking. 2013-11-18 07:45:59 +01:00
skin_parser more error handling for checkwps 2013-02-27 21:15:57 +11:00
tlsf lua: Switch memory allocator from dl to tlsf 2013-08-26 09:42:47 +02:00
unwarminder Fix return address when data_abort_handler skips faulting instruction. 2013-05-23 19:51:19 -04:00