rockbox/lib/rbcodec/codecs
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
..
demac
lib Make fixepoint.c as a shared library (libfixedpoint.a). 2013-04-26 00:11:04 +02:00
liba52
libalac
libasap asap codec: remove invalid memset 2012-05-06 23:38:15 -04:00
libasf
libatrac
libcook
libfaad
libffmpegFLAC Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
libgme Silence some (harmless) warnings. 2013-06-16 18:23:18 +02:00
libm4a remove extraneous parens 2012-05-06 23:41:37 -04:00
libmad Fix libmad compilation on MIPS with newer gcc. FS#12013 2012-06-11 23:17:19 +02:00
libmusepack Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
libopus Opus: delete two files that were moved into a subdir 2013-09-01 18:36:12 +02:00
libpcm Add support for 16 bit 'half float' format PCM. 2012-11-22 05:18:00 +01:00
librm
libspc SPC Codec ARMv5: I didn't have fast gauss quite right. 2013-05-26 00:33:30 -04:00
libspeex Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
libtremor Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
libtta
libwavpack Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
libwma Fix audio corruption when sequentially playing low bitrate WMA files 2012-05-01 02:01:06 -04:00
libwmapro Expand the range of the WPA Pro quant table. Fixes FS#12704. 2012-07-03 18:43:44 -04:00
libwmavoice
a52.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
a52_rm.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
aac.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
adx.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
aiff.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
aiff_enc.c Add missing #include statements. 2013-10-20 16:52:46 +02:00
alac.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
ape.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
asap.c
atrac3_oma.c
atrac3_rm.c
au.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
ay.c
codec_crt0.c
codecs.h Simulator - encoders can now be loaded 2013-10-05 12:25:13 +02:00
codecs.make Change CODECFLAGS to a "simply-expanded" var to give the individual 2013-08-23 18:34:30 +02:00
cook.c
flac.c flac: fix seeking. 2013-11-18 07:45:59 +01:00
gbs.c
hes.c
kss.c
mod.c Remove STATICIRAM hack 2012-05-08 22:46:12 +02:00
mp3_enc.c Add missing #include statements. 2013-10-20 16:52:46 +02:00
mpa.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
mpc.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
nsf.c
opus.c Opus: fix glitch caused by 2e9aa3d 2013-05-21 22:38:18 +02:00
raac.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
sgc.c
shorten.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
sid.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
smaf.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
SOURCES Initial opus codec support 2012-09-20 20:47:44 +02:00
spc.c
speex.c
tta.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
vgm.c VGM Codec: Improve time and fade behavior. Tweak minor misc. 2013-03-06 19:47:05 -05:00
vorbis.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
vox.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
wav.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
wav64.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
wav_enc.c Add missing #include statements. 2013-10-20 16:52:46 +02:00
wavpack.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
wavpack_enc.c Multithread compressing encoders on multicore targets. 2013-07-09 06:28:33 -04:00
wma.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
wmapro.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00
wmavoice.c Purge the usage of DSP_SWITCH_FREQUENCY. 2013-05-05 00:48:40 -04:00