diff options
Diffstat (limited to 'lib/rbcodec/codecs/libspeex/config-speex.h')
-rw-r--r-- | lib/rbcodec/codecs/libspeex/config-speex.h | 186 |
1 files changed, 186 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libspeex/config-speex.h b/lib/rbcodec/codecs/libspeex/config-speex.h new file mode 100644 index 0000000000..7e0672c150 --- /dev/null +++ b/lib/rbcodec/codecs/libspeex/config-speex.h | |||
@@ -0,0 +1,186 @@ | |||
1 | #ifndef ROCKBOX_VOICE_ENCODER | ||
2 | #include "codeclib.h" | ||
3 | #include "autoconf.h" | ||
4 | #else | ||
5 | #define ICODE_ATTR | ||
6 | #define IDATA_ATTR | ||
7 | #define IBSS_ATTR | ||
8 | #define ICONST_ATTR | ||
9 | #endif | ||
10 | /* config.h. Generated from config.h.in by configure. */ | ||
11 | /* config.h.in. Generated from configure.ac by autoheader. */ | ||
12 | |||
13 | #ifndef ROCKBOX_VOICE_ENCODER | ||
14 | |||
15 | #define DISABLE_FLOAT_API | ||
16 | #define DISABLE_VBR | ||
17 | |||
18 | /* Make use of ARM4E assembly optimizations */ | ||
19 | #if defined(CPU_ARM) | ||
20 | #define ARM4_ASM | ||
21 | #endif | ||
22 | |||
23 | /* Make use of Coldfire assembly optimizations */ | ||
24 | #if defined(CPU_COLDFIRE) | ||
25 | #define COLDFIRE_ASM | ||
26 | #endif | ||
27 | |||
28 | /* Make use of Blackfin assembly optimizations */ | ||
29 | /* #undef BFIN_ASM */ | ||
30 | #endif /* ROCKBOX_VOICE_ENCODER */ | ||
31 | |||
32 | /* Disable wideband codec */ | ||
33 | /* #undef DISABLE_WIDEBAND */ | ||
34 | |||
35 | /* Enable valgrind extra checks */ | ||
36 | /* #undef ENABLE_VALGRIND */ | ||
37 | |||
38 | /* Debug fixed-point implementation */ | ||
39 | /* #undef FIXED_DEBUG */ | ||
40 | |||
41 | #ifndef ROCKBOX_VOICE_ENCODER | ||
42 | /* Compile target codec as fixed point */ | ||
43 | #define FIXED_POINT | ||
44 | #else | ||
45 | /* Compile voice clip encoder as floating point */ | ||
46 | #define FLOATING_POINT | ||
47 | #endif | ||
48 | |||
49 | #ifndef ROCKBOX_VOICE_CODEC | ||
50 | #define EXC_ICONST_ATTR ICONST_ATTR | ||
51 | #define GAIN_ICONST_ATTR ICONST_ATTR | ||
52 | #define HEXC_ICONST_ATTR ICONST_ATTR | ||
53 | #define LSP_ICONST_ATTR ICONST_ATTR | ||
54 | #else | ||
55 | #define EXC_ICONST_ATTR | ||
56 | #define GAIN_ICONST_ATTR | ||
57 | #define HEXC_ICONST_ATTR | ||
58 | #define LSP_ICONST_ATTR | ||
59 | #endif | ||
60 | |||
61 | /* Define to 1 if you have the <dlfcn.h> header file. */ | ||
62 | /* #undef HAVE_DLFCN_H */ | ||
63 | |||
64 | /* Define to 1 if you have the `getopt_long' function. */ | ||
65 | #define HAVE_GETOPT_LONG 1 | ||
66 | |||
67 | /* Define to 1 if you have the <inttypes.h> header file. */ | ||
68 | #define HAVE_INTTYPES_H 1 | ||
69 | |||
70 | /* Define to 1 if you have the `m' library (-lm). */ | ||
71 | /* #undef HAVE_LIBM */ | ||
72 | |||
73 | /* Define to 1 if you have the `winmm' library (-lwinmm). */ | ||
74 | /* #undef HAVE_LIBWINMM */ | ||
75 | |||
76 | /* Define to 1 if you have the <memory.h> header file. */ | ||
77 | /* #define HAVE_MEMORY_H 1 */ | ||
78 | |||
79 | /* Define to 1 if you have the <stdint.h> header file. */ | ||
80 | #define HAVE_STDINT_H 1 | ||
81 | |||
82 | /* Define to 1 if you have the <stdlib.h> header file. */ | ||
83 | #define HAVE_STDLIB_H 1 | ||
84 | |||
85 | /* Define to 1 if you have the <strings.h> header file. */ | ||
86 | #define HAVE_STRINGS_H 1 | ||
87 | |||
88 | /* Define to 1 if you have the <string.h> header file. */ | ||
89 | #define HAVE_STRING_H 1 | ||
90 | |||
91 | /* Define to 1 if you have the <sys/audioio.h> header file. */ | ||
92 | /* #undef HAVE_SYS_AUDIOIO_H */ | ||
93 | |||
94 | /* Define to 1 if you have the <sys/soundcard.h> header file. */ | ||
95 | #define HAVE_SYS_SOUNDCARD_H 1 | ||
96 | |||
97 | /* Define to 1 if you have the <sys/stat.h> header file. */ | ||
98 | #define HAVE_SYS_STAT_H 1 | ||
99 | |||
100 | /* Define to 1 if you have the <sys/types.h> header file. */ | ||
101 | #define HAVE_SYS_TYPES_H 1 | ||
102 | |||
103 | /* Define to 1 if you have the <unistd.h> header file. */ | ||
104 | #define HAVE_UNISTD_H 1 | ||
105 | |||
106 | /* Define to the address where bug reports for this package should be sent. */ | ||
107 | #define PACKAGE_BUGREPORT "" | ||
108 | |||
109 | /* Define to the full name of this package. */ | ||
110 | #define PACKAGE_NAME "" | ||
111 | |||
112 | /* Define to the full name and version of this package. */ | ||
113 | #define PACKAGE_STRING "" | ||
114 | |||
115 | /* Define to the one symbol short name of this package. */ | ||
116 | #define PACKAGE_TARNAME "" | ||
117 | |||
118 | /* Define to the version of this package. */ | ||
119 | #define PACKAGE_VERSION "" | ||
120 | |||
121 | /* Reduce precision to 16 bits (EXPERIMENTAL) */ | ||
122 | /* #undef PRECISION16 */ | ||
123 | |||
124 | /* The size of `int', as computed by sizeof. */ | ||
125 | #define SIZEOF_INT 4 | ||
126 | |||
127 | /* The size of `long', as computed by sizeof. */ | ||
128 | #define SIZEOF_LONG 4 | ||
129 | |||
130 | /* The size of `short', as computed by sizeof. */ | ||
131 | #define SIZEOF_SHORT 2 | ||
132 | |||
133 | /* Version extra */ | ||
134 | #define SPEEX_EXTRA_VERSION "-git" | ||
135 | |||
136 | /* Version major */ | ||
137 | #define SPEEX_MAJOR_VERSION 1 | ||
138 | |||
139 | /* Version micro */ | ||
140 | #define SPEEX_MICRO_VERSION 15 | ||
141 | |||
142 | /* Version minor */ | ||
143 | #define SPEEX_MINOR_VERSION 1 | ||
144 | |||
145 | /* Complete version string */ | ||
146 | #define SPEEX_VERSION "1.2beta3" | ||
147 | |||
148 | /* Define to 1 if you have the ANSI C header files. */ | ||
149 | #define STDC_HEADERS 1 | ||
150 | |||
151 | /* Enable support for TI C55X DSP */ | ||
152 | /* #undef TI_C55X */ | ||
153 | |||
154 | /* Make use of alloca */ | ||
155 | /* #undef USE_ALLOCA */ | ||
156 | |||
157 | /* Use C99 variable-size arrays */ | ||
158 | #define VAR_ARRAYS | ||
159 | |||
160 | /* Enable Vorbis-style psychoacoustics (EXPERIMENTAL) */ | ||
161 | /* #undef VORBIS_PSYCHO */ | ||
162 | |||
163 | /* Define to 1 if your processor stores words with the most significant byte | ||
164 | first (like Motorola and SPARC, unlike Intel and VAX). */ | ||
165 | #ifdef ROCKBOX_BIG_ENDIAN | ||
166 | #define WORDS_BIGENDIAN 1 | ||
167 | #endif | ||
168 | |||
169 | /* Enable SSE support */ | ||
170 | /* #undef _USE_SSE */ | ||
171 | |||
172 | /* Define to empty if `const' does not conform to ANSI C. */ | ||
173 | /* #undef const */ | ||
174 | |||
175 | /* Define to `__inline__' or `__inline' if that's what the C compiler | ||
176 | calls it, or to nothing if 'inline' is not supported under any name. */ | ||
177 | #ifndef __cplusplus | ||
178 | /* #undef inline */ | ||
179 | #endif | ||
180 | |||
181 | /* Define to equivalent of C99 restrict keyword, or to nothing if this is not | ||
182 | supported. Do not define if restrict is supported directly. */ | ||
183 | #define restrict __restrict | ||
184 | |||
185 | #define RELEASE 1 | ||
186 | |||