From 65458ee71ca741fbed1bff7e358760bb480b85e9 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Fri, 16 Nov 2007 15:35:37 +0000 Subject: 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 --- apps/codecs/libspeex/rockbox.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/codecs/libspeex/rockbox.h') 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 -- cgit v1.1