summaryrefslogtreecommitdiff
path: root/apps/codecs/Tremor/config-tremor.h
blob: f4a0e1c0bf70ecb2aaf559fff73da6dd1e1b6433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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_