From 91f618f1ba1e507a9aa1cf7ee87eaf0370272b17 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Wed, 14 Nov 2007 00:55:05 +0000 Subject: 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 --- apps/codecs/libspeex/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/codecs/libspeex/Makefile') 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 SPEEXOPTS += -O2 endif +# We build Speex separately for use as a voice codec +ifdef ROCKBOX_VOICE_CODEC +EXTRA_DEFINES += -DROCKBOX_VOICE_CODEC +endif + CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(SPEEXOPTS) $(TARGET) \ $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} ${PROFILE_OPTS} -Wno-unused-parameter -- cgit v1.2.3