diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-11-14 00:55:05 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-11-14 00:55:05 +0000 |
commit | 91f618f1ba1e507a9aa1cf7ee87eaf0370272b17 (patch) | |
tree | 01e714dc8b41d5ee4332109c0c86720ae291bf96 /apps/codecs/libspeex/Makefile | |
parent | d75a5486e60d10a74049712d8bdf1fa2816038f8 (diff) | |
download | rockbox-91f618f1ba1e507a9aa1cf7ee87eaf0370272b17.tar.gz rockbox-91f618f1ba1e507a9aa1cf7ee87eaf0370272b17.zip |
Remove unneeded math wrappers. Clear state structs in decoder init. Start initial work at stripping away parts of Speex in preparation for its use as a statically linked voice UI codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15612 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/Makefile')
-rw-r--r-- | apps/codecs/libspeex/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/Makefile b/apps/codecs/libspeex/Makefile index 7c73f02d67..35a8535369 100644 --- a/apps/codecs/libspeex/Makefile +++ b/apps/codecs/libspeex/Makefile | |||
@@ -23,6 +23,11 @@ else | |||
23 | SPEEXOPTS += -O2 | 23 | SPEEXOPTS += -O2 |
24 | endif | 24 | endif |
25 | 25 | ||
26 | # We build Speex separately for use as a voice codec | ||
27 | ifdef ROCKBOX_VOICE_CODEC | ||
28 | EXTRA_DEFINES += -DROCKBOX_VOICE_CODEC | ||
29 | endif | ||
30 | |||
26 | CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(SPEEXOPTS) $(TARGET) \ | 31 | CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(SPEEXOPTS) $(TARGET) \ |
27 | $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} ${PROFILE_OPTS} -Wno-unused-parameter | 32 | $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} ${PROFILE_OPTS} -Wno-unused-parameter |
28 | 33 | ||