summaryrefslogtreecommitdiff
path: root/apps/codecs/libspeex/config-speex.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libspeex/config-speex.h')
-rw-r--r--apps/codecs/libspeex/config-speex.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/config-speex.h b/apps/codecs/libspeex/config-speex.h
index 1378fc2a69..ad1393fc60 100644
--- a/apps/codecs/libspeex/config-speex.h
+++ b/apps/codecs/libspeex/config-speex.h
@@ -1,8 +1,16 @@
1#ifndef ROCKBOX_VOICE_ENCODER
1#include "../codec.h" 2#include "../codec.h"
2#include "autoconf.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
3/* config.h. Generated from config.h.in by configure. */ 10/* config.h. Generated from config.h.in by configure. */
4/* config.h.in. Generated from configure.ac by autoheader. */ 11/* config.h.in. Generated from configure.ac by autoheader. */
5 12
13#ifndef ROCKBOX_VOICE_ENCODER
6/* Make use of ARM4E assembly optimizations */ 14/* Make use of ARM4E assembly optimizations */
7#if defined(CPU_ARM) 15#if defined(CPU_ARM)
8#define ARM4_ASM 16#define ARM4_ASM
@@ -15,6 +23,7 @@
15 23
16/* Make use of Blackfin assembly optimizations */ 24/* Make use of Blackfin assembly optimizations */
17/* #undef BFIN_ASM */ 25/* #undef BFIN_ASM */
26#endif /* ROCKBOX_VOICE_ENCODER */
18 27
19/* Disable wideband codec */ 28/* Disable wideband codec */
20/* #undef DISABLE_WIDEBAND */ 29/* #undef DISABLE_WIDEBAND */
@@ -28,8 +37,13 @@
28/* Debug fixed-point implementation */ 37/* Debug fixed-point implementation */
29/* #undef FIXED_DEBUG */ 38/* #undef FIXED_DEBUG */
30 39
40#ifndef ROCKBOX_VOICE_ENCODER
31/* Compile target codec as fixed point */ 41/* Compile target codec as fixed point */
32#define FIXED_POINT 42#define FIXED_POINT
43#else
44/* Compile voice clip encoder as floating point */
45#define FLOATING_POINT
46#endif
33 47
34/* Define to 1 if you have the <dlfcn.h> header file. */ 48/* Define to 1 if you have the <dlfcn.h> header file. */
35/* #undef HAVE_DLFCN_H */ 49/* #undef HAVE_DLFCN_H */