1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib/rbcodec
Solomon Peachy a98a8ce131 FLAC: Conditionally increase MAX_BLOCKSIZE to 8KB
High-frequency files increasingly use a block size of over 4608B, which
means we need larger buffers to decode them.  However, larger buffers no
longer fit in IRAM on less-capable devices, hurting performance for
"normal" file playback.

On our slowest devices (M68K and PP-based devices), this is not worth
the tradeoff as they will likely not have enough CPU oomph to decode and
downmix these files in realtime.

S5L87xx-based devices have the raw performance to do this, so we decided
to err on the side of wider file compatibility at the cost of some
performance.

All other devices are unaffected.

Change-Id: I7344cf4c8c6b7b5c14f1ea67381160665d6ece5b
2025-09-08 22:51:46 -04:00
..
codecs FLAC: Conditionally increase MAX_BLOCKSIZE to 8KB 2025-09-08 22:51:46 -04:00
dsp misc: Properly annotate some intentional case fallthroughs 2025-04-22 20:54:37 -04:00
metadata Revert "internals: Support characters beyond the first unicode plane (WIP)" 2025-08-20 16:09:49 -04:00
test warble: Fix build in light of ci.strip_filesize 2025-05-26 11:51:26 -04:00
platform.h rbcodec dsp: Move dsp_sample_io_configure() to its own file 2022-12-22 17:20:14 -05:00
rbcodec.make rbcodec: Force use of -O2 for dsp code 2025-09-06 08:44:32 -04:00
rbcodecconfig-example.h Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
rbcodecplatform-unix.h Enable buflib and core_alloc for warble. 2015-01-19 21:30:03 +01:00
SOURCES rbcodec dsp: Move dsp_sample_io_configure() to its own file 2022-12-22 17:20:14 -05:00