From f5884fdeb6252c77973d0f08ee952bb981f6678c Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sat, 25 Apr 2009 03:51:58 +0000 Subject: Disable AAC-SBR, AAC-SSR, and AAC-PS on Sansa clip. Clean up warnings introduced by this. Enable compiling the AAC codec on the Clip. Due to lack of memory for seek tables, files over 10 minutes long or so will probably fail. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20781 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libfaad/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/codecs/libfaad/common.h') diff --git a/apps/codecs/libfaad/common.h b/apps/codecs/libfaad/common.h index a9c67a5..ea028b1 100644 --- a/apps/codecs/libfaad/common.h +++ b/apps/codecs/libfaad/common.h @@ -86,8 +86,10 @@ extern struct codec_api* ci; /* Allow decoding of MAIN profile AAC */ #define MAIN_DEC +#if MEMORYSIZE > 2 /* Allow decoding of SSR profile AAC */ #define SSR_DEC +#endif /* Allow decoding of LTP profile AAC */ #define LTP_DEC /* Allow decoding of LD profile AAC */ @@ -123,9 +125,11 @@ extern struct codec_api* ci; #undef ERROR_RESILIENCE #endif +#if MEMORYSIZE > 2 #define SBR_DEC //#define SBR_LOW_POWER #define PS_DEC +#endif /* FIXED POINT: No MAIN decoding */ #ifdef FIXED_POINT -- cgit v1.1