diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-11-16 15:35:37 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-11-16 15:35:37 +0000 |
commit | 65458ee71ca741fbed1bff7e358760bb480b85e9 (patch) | |
tree | be9262a5c2560e5e0710d41e6c94d0c3a4e86b77 /apps/codecs/libspeex/config-speex.h | |
parent | 88c4748a4b93b6dcf0a8288c030bf93ae571ce5e (diff) | |
download | rockbox-65458ee71ca741fbed1bff7e358760bb480b85e9.tar.gz rockbox-65458ee71ca741fbed1bff7e358760bb480b85e9.zip |
Speex encoder specially tailored to create voice UI snippets. Small fixups to libspeex to allow it to be built.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15640 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/config-speex.h')
-rw-r--r-- | apps/codecs/libspeex/config-speex.h | 14 |
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 */ |