1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib/rbcodec
Roman Artiukhin 19f21a2b3f Codecs: mp4: Enable FAAD_STATIC_ALLOC
Allocates several SBR + PS arrays and variables statically
Prevents out of memory exceptions for long audiobooks

Note from original commit a602f46d why it was disabled:
For now malloc is not fully removed but used by a few arrays needed for AAC-HE SBR+PS only. Reason to keep malloc is to have this amount of memory available for AAC-LC files which might require large m4a tables.

But now with "shrinkable" seek table 2c6dfd06 it's no longer a critical issue for aac-lc files (we just load less seek entries) but might be critical for aac-he files.

Fixes issue described here https://www.rockbox.org/tracker/task/13049#comment44587

Change-Id: Id9c20bad4c46034299a2a4de95d41c807b3af412
2024-03-28 08:25:02 -04:00
..
codecs Codecs: mp4: Enable FAAD_STATIC_ALLOC 2024-03-28 08:25:02 -04:00
dsp Using ARM Unified Assembler Language 2023-03-23 13:28:22 -04:00
metadata Remove ATRAC3 specific fields (channels, extradata_size) from mp3entry 2024-02-02 09:36:53 -05:00
test Remove ATRAC3 specific fields (channels, extradata_size) from mp3entry 2024-02-02 09:36:53 -05:00
platform.h rbcodec dsp: Move dsp_sample_io_configure() to its own file 2022-12-22 17:20:14 -05:00
rbcodec.make [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00: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