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/rockbox.h | |
| parent | 88c4748a4b93b6dcf0a8288c030bf93ae571ce5e (diff) | |
| download | rockbox-65458ee71ca741fbed1bff7e358760bb480b85e9.zip rockbox-65458ee71ca741fbed1bff7e358760bb480b85e9.tar.gz rockbox-65458ee71ca741fbed1bff7e358760bb480b85e9.tar.bz2 rockbox-65458ee71ca741fbed1bff7e358760bb480b85e9.tar.xz | |
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/rockbox.h')
| -rw-r--r-- | apps/codecs/libspeex/rockbox.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/rockbox.h b/apps/codecs/libspeex/rockbox.h index 0f8c6d9..0e0d3ed 100644 --- a/apps/codecs/libspeex/rockbox.h +++ b/apps/codecs/libspeex/rockbox.h @@ -19,6 +19,9 @@ #ifndef SPEEX_ROCKBOX_H #define SPEEX_ROCKBOX_H +/* We don't want all this stuff if we're building encoder */ +#ifndef ROCKBOX_VOICE_ENCODER + #include "../codec.h" #include "../lib/codeclib.h" @@ -106,5 +109,7 @@ static inline void _speex_putc(int ch, void *file) //printf("%c", ch); } +#endif /* ROCKBOX_VOICE_ENCODER */ + #endif |