Fix some greedy sed changes in imported code. Also provide a sys/types.h for compatib...
[kugel-rb.git] / apps / codecs / libspeex / config-speex.h
blobf3b397f5415af590a9e240f4bf47a6751472ae8a
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. */
13 #ifndef ROCKBOX_VOICE_ENCODER
15 #define DISABLE_FLOAT_API
16 #define DISABLE_VBR
18 /* Make use of ARM4E assembly optimizations */
19 #if defined(CPU_ARM)
20 #define ARM4_ASM
21 #endif
23 /* Make use of Coldfire assembly optimizations */
24 #if defined(CPU_COLDFIRE)
25 #define COLDFIRE_ASM
26 #endif
28 /* Make use of Blackfin assembly optimizations */
29 /* #undef BFIN_ASM */
30 #endif /* ROCKBOX_VOICE_ENCODER */
32 /* Disable wideband codec */
33 /* #undef DISABLE_WIDEBAND */
35 /* Enable valgrind extra checks */
36 /* #undef ENABLE_VALGRIND */
38 /* Debug fixed-point implementation */
39 /* #undef FIXED_DEBUG */
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
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
61 /* Define to 1 if you have the <dlfcn.h> header file. */
62 /* #undef HAVE_DLFCN_H */
64 /* Define to 1 if you have the `getopt_long' function. */
65 #define HAVE_GETOPT_LONG 1
67 /* Define to 1 if you have the <inttypes.h> header file. */
68 #define HAVE_INTTYPES_H 1
70 /* Define to 1 if you have the `m' library (-lm). */
71 /* #undef HAVE_LIBM */
73 /* Define to 1 if you have the `winmm' library (-lwinmm). */
74 /* #undef HAVE_LIBWINMM */
76 /* Define to 1 if you have the <memory.h> header file. */
77 #define HAVE_MEMORY_H 1
79 /* Define to 1 if you have the <stdint.h> header file. */
80 #define HAVE_STDINT_H 1
82 /* Define to 1 if you have the <stdlib.h> header file. */
83 #define HAVE_STDLIB_H 1
85 /* Define to 1 if you have the <strings.h> header file. */
86 #define HAVE_STRINGS_H 1
88 /* Define to 1 if you have the <string.h> header file. */
89 #define HAVE_STRING_H 1
91 /* Define to 1 if you have the <sys/audioio.h> header file. */
92 /* #undef HAVE_SYS_AUDIOIO_H */
94 /* Define to 1 if you have the <sys/soundcard.h> header file. */
95 #define HAVE_SYS_SOUNDCARD_H 1
97 /* Define to 1 if you have the <sys/stat.h> header file. */
98 #define HAVE_SYS_STAT_H 1
100 /* Define to 1 if you have the <sys/types.h> header file. */
101 #define HAVE_SYS_TYPES_H 1
103 /* Define to 1 if you have the <unistd.h> header file. */
104 #define HAVE_UNISTD_H 1
106 /* Define to the address where bug reports for this package should be sent. */
107 #define PACKAGE_BUGREPORT ""
109 /* Define to the full name of this package. */
110 #define PACKAGE_NAME ""
112 /* Define to the full name and version of this package. */
113 #define PACKAGE_STRING ""
115 /* Define to the one symbol short name of this package. */
116 #define PACKAGE_TARNAME ""
118 /* Define to the version of this package. */
119 #define PACKAGE_VERSION ""
121 /* Reduce precision to 16 bits (EXPERIMENTAL) */
122 /* #undef PRECISION16 */
124 /* The size of `int', as computed by sizeof. */
125 #define SIZEOF_INT 4
127 /* The size of `long', as computed by sizeof. */
128 #define SIZEOF_LONG 4
130 /* The size of `short', as computed by sizeof. */
131 #define SIZEOF_SHORT 2
133 /* Version extra */
134 #define SPEEX_EXTRA_VERSION "-git"
136 /* Version major */
137 #define SPEEX_MAJOR_VERSION 1
139 /* Version micro */
140 #define SPEEX_MICRO_VERSION 15
142 /* Version minor */
143 #define SPEEX_MINOR_VERSION 1
145 /* Complete version string */
146 #define SPEEX_VERSION "1.2beta3"
148 /* Define to 1 if you have the ANSI C header files. */
149 #define STDC_HEADERS 1
151 /* Enable support for TI C55X DSP */
152 /* #undef TI_C55X */
154 /* Make use of alloca */
155 /* #undef USE_ALLOCA */
157 /* Use C99 variable-size arrays */
158 #define VAR_ARRAYS
160 /* Enable Vorbis-style psychoacoustics (EXPERIMENTAL) */
161 /* #undef VORBIS_PSYCHO */
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
169 /* Enable SSE support */
170 /* #undef _USE_SSE */
172 /* Define to empty if `const' does not conform to ANSI C. */
173 /* #undef const */
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
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
185 #define RELEASE 1