forked from len0rd/rockbox
libfaad: AAC including HE-profile needs ~470 KB for playback (measured on ARM). Therefor it does not make sense to enable HE on devices with CODEC_SIZE < 512 KB. This will allow to load and play larger AAC-LC files on such devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29862 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
72fba7a9d7
commit
2263cf35ab
1 changed files with 3 additions and 5 deletions
|
|
@ -78,7 +78,7 @@ extern struct codec_api* ci;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Used to allocate several SBR + PS arrays and variables statically. */
|
/* Used to allocate several SBR + PS arrays and variables statically. */
|
||||||
//#define FAAD_STATIC_ALLOC
|
#define FAAD_STATIC_ALLOC
|
||||||
|
|
||||||
#define INLINE __inline
|
#define INLINE __inline
|
||||||
#if 0 //defined(_WIN32) && !defined(_WIN32_WCE)
|
#if 0 //defined(_WIN32) && !defined(_WIN32_WCE)
|
||||||
|
|
@ -110,10 +110,8 @@ extern struct codec_api* ci;
|
||||||
|
|
||||||
/* Allow decoding of MAIN profile AAC */
|
/* Allow decoding of MAIN profile AAC */
|
||||||
#define MAIN_DEC
|
#define MAIN_DEC
|
||||||
#if MEMORYSIZE > 2
|
|
||||||
/* Allow decoding of SSR profile AAC */
|
/* Allow decoding of SSR profile AAC */
|
||||||
#define SSR_DEC
|
#define SSR_DEC
|
||||||
#endif
|
|
||||||
/* Allow decoding of LTP profile AAC */
|
/* Allow decoding of LTP profile AAC */
|
||||||
#define LTP_DEC
|
#define LTP_DEC
|
||||||
/* Allow decoding of LD profile AAC */
|
/* Allow decoding of LD profile AAC */
|
||||||
|
|
@ -149,9 +147,9 @@ extern struct codec_api* ci;
|
||||||
#undef ERROR_RESILIENCE
|
#undef ERROR_RESILIENCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MEMORYSIZE > 2
|
#if CODEC_SIZE >= 0x80000
|
||||||
#define SBR_DEC
|
#define SBR_DEC
|
||||||
//#define SBR_LOW_POWER
|
//#define SBR_LOW_POWER /* Does not work yet in rockbox. */
|
||||||
#define PS_DEC
|
#define PS_DEC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue