summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libspeex/config-speex.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libspeex/config-speex.h')
-rw-r--r--lib/rbcodec/codecs/libspeex/config-speex.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/lib/rbcodec/codecs/libspeex/config-speex.h b/lib/rbcodec/codecs/libspeex/config-speex.h
index 7e0672c150..d6d3b23a0a 100644
--- a/lib/rbcodec/codecs/libspeex/config-speex.h
+++ b/lib/rbcodec/codecs/libspeex/config-speex.h
@@ -1,5 +1,5 @@
1#ifndef ROCKBOX_VOICE_ENCODER 1#ifndef ROCKBOX_VOICE_ENCODER
2#include "codeclib.h" 2#include "codeclib.h"
3#include "autoconf.h" 3#include "autoconf.h"
4#else 4#else
5#define ICODE_ATTR 5#define ICODE_ATTR
@@ -17,7 +17,11 @@
17 17
18/* Make use of ARM4E assembly optimizations */ 18/* Make use of ARM4E assembly optimizations */
19#if defined(CPU_ARM) 19#if defined(CPU_ARM)
20#if (ARM_ARCH < 5)
20#define ARM4_ASM 21#define ARM4_ASM
22#else
23#define ARM5E_ASM
24#endif
21#endif 25#endif
22 26
23/* Make use of Coldfire assembly optimizations */ 27/* Make use of Coldfire assembly optimizations */
@@ -40,10 +44,10 @@
40 44
41#ifndef ROCKBOX_VOICE_ENCODER 45#ifndef ROCKBOX_VOICE_ENCODER
42/* Compile target codec as fixed point */ 46/* Compile target codec as fixed point */
43#define FIXED_POINT 47#define FIXED_POINT
44#else 48#else
45/* Compile voice clip encoder as floating point */ 49/* Compile voice clip encoder as floating point */
46#define FLOATING_POINT 50#define FLOATING_POINT
47#endif 51#endif
48 52
49#ifndef ROCKBOX_VOICE_CODEC 53#ifndef ROCKBOX_VOICE_CODEC
@@ -137,13 +141,13 @@
137#define SPEEX_MAJOR_VERSION 1 141#define SPEEX_MAJOR_VERSION 1
138 142
139/* Version micro */ 143/* Version micro */
140#define SPEEX_MICRO_VERSION 15 144#define SPEEX_MICRO_VERSION 16
141 145
142/* Version minor */ 146/* Version minor */
143#define SPEEX_MINOR_VERSION 1 147#define SPEEX_MINOR_VERSION 1
144 148
145/* Complete version string */ 149/* Complete version string */
146#define SPEEX_VERSION "1.2beta3" 150#define SPEEX_VERSION "1.2rc1"
147 151
148/* Define to 1 if you have the ANSI C header files. */ 152/* Define to 1 if you have the ANSI C header files. */
149#define STDC_HEADERS 1 153#define STDC_HEADERS 1
@@ -155,7 +159,7 @@
155/* #undef USE_ALLOCA */ 159/* #undef USE_ALLOCA */
156 160
157/* Use C99 variable-size arrays */ 161/* Use C99 variable-size arrays */
158#define VAR_ARRAYS 162#define VAR_ARRAYS
159 163
160/* Enable Vorbis-style psychoacoustics (EXPERIMENTAL) */ 164/* Enable Vorbis-style psychoacoustics (EXPERIMENTAL) */
161/* #undef VORBIS_PSYCHO */ 165/* #undef VORBIS_PSYCHO */
@@ -184,3 +188,7 @@
184 188
185#define RELEASE 1 189#define RELEASE 1
186 190
191/* We don't care */
192#define EXPORT
193
194#define USE_KISS_FFT