summaryrefslogtreecommitdiff
path: root/apps/codecs/libmusepack/Makefile
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-08-30 11:41:05 +0000
committerThom Johansen <thomj@rockbox.org>2007-08-30 11:41:05 +0000
commit953348f1ba4845984980ad71b05c17d4ded84b30 (patch)
tree728605bcacc89b221e71065d0d092d1b06132799 /apps/codecs/libmusepack/Makefile
parentc7b3f8be9b1ea505463c3d8ba17740af36c6df2c (diff)
downloadrockbox-953348f1ba4845984980ad71b05c17d4ded84b30.tar.gz
rockbox-953348f1ba4845984980ad71b05c17d4ded84b30.zip
FS #7166. Musepack optimizations and cleanups. Huge speedup on ARM. Note that all ARM (Ipod/Sansa/Gigabeat) targets will now play back Musepack files with somewhat reduced accuracy. Please get in touch via forums or Flyspray if you've got sample files where this is very apparent. Most users should hear no difference.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14531 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack/Makefile')
-rw-r--r--apps/codecs/libmusepack/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/codecs/libmusepack/Makefile b/apps/codecs/libmusepack/Makefile
index e50769719b..a70d33644a 100644
--- a/apps/codecs/libmusepack/Makefile
+++ b/apps/codecs/libmusepack/Makefile
@@ -14,7 +14,13 @@ ifdef APPEXTRA
14 INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA))) 14 INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA)))
15endif 15endif
16 16
17MUSEPACKOPTS = -O2 17# libmusepack is faster on ARM-targets with -O1 instead of -O2
18ifeq ($(CPU),arm)
19 MUSEPACKOPTS += -O1
20else
21 MUSEPACKOPTS += -O2
22endif
23
18CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(MUSEPACKOPTS) $(TARGET) \ 24CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(MUSEPACKOPTS) $(TARGET) \
19$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) 25$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS)
20 26