rockbox/apps/codecs/Tremor/config-tremor.h
Thom Johansen 5947e49f46 Make Tremor usable on ARM targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8475 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 21:21:21 +00:00

24 lines
533 B
C

#include "../codec.h"
#ifdef CPU_ARM
#define _ARM_ASSEM_
#endif
#ifdef ROCKBOX_BIG_ENDIAN
#define BIG_ENDIAN 1
#define LITTLE_ENDIAN 0
#define BYTE_ORDER BIG_ENDIAN
#else
#define BYTE_ORDER LITTLE_ENDIAN
#define LITTLE_ENDIAN 1
#define BIG_ENDIAN 0
#endif
/* As of 28 Dec 2005, the Tremor code is too big for IRAM on the iPod,
so we temporarily disable ICODE_ATTR - this needs reviewing when it comes
to optimising Tremor for the iPod */
#ifdef CPU_ARM
#undef ICODE_ATTR
#define ICODE_ATTR
#endif
// #define _LOW_ACCURACY_