summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor/config-tremor.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libtremor/config-tremor.h')
-rw-r--r--apps/codecs/libtremor/config-tremor.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/codecs/libtremor/config-tremor.h b/apps/codecs/libtremor/config-tremor.h
new file mode 100644
index 0000000000..e1ade700e5
--- /dev/null
+++ b/apps/codecs/libtremor/config-tremor.h
@@ -0,0 +1,28 @@
1#include "../codec.h"
2#ifdef CPU_ARM
3#define _ARM_ASSEM_
4#endif
5
6#ifdef ROCKBOX_BIG_ENDIAN
7#define BIG_ENDIAN 1
8#define LITTLE_ENDIAN 0
9#define BYTE_ORDER BIG_ENDIAN
10#else
11#define BYTE_ORDER LITTLE_ENDIAN
12#define LITTLE_ENDIAN 1
13#define BIG_ENDIAN 0
14#endif
15
16#ifndef ICONST_ATTR_TREMOR_WINDOW
17#define ICONST_ATTR_TREMOR_WINDOW ICONST_ATTR
18#endif
19
20#ifndef ICODE_ATTR_TREMOR_MDCT
21#define ICODE_ATTR_TREMOR_MDCT ICODE_ATTR
22#endif
23
24#ifndef ICODE_ATTR_TREMOR_NOT_MDCT
25#define ICODE_ATTR_TREMOR_NOT_MDCT ICODE_ATTR
26#endif
27
28// #define _LOW_ACCURACY_