diff options
author | Thom Johansen <thomj@rockbox.org> | 2007-08-30 11:41:05 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2007-08-30 11:41:05 +0000 |
commit | 953348f1ba4845984980ad71b05c17d4ded84b30 (patch) | |
tree | 728605bcacc89b221e71065d0d092d1b06132799 /apps/codecs/libmusepack/Makefile | |
parent | c7b3f8be9b1ea505463c3d8ba17740af36c6df2c (diff) | |
download | rockbox-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/Makefile | 8 |
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))) |
15 | endif | 15 | endif |
16 | 16 | ||
17 | MUSEPACKOPTS = -O2 | 17 | # libmusepack is faster on ARM-targets with -O1 instead of -O2 |
18 | ifeq ($(CPU),arm) | ||
19 | MUSEPACKOPTS += -O1 | ||
20 | else | ||
21 | MUSEPACKOPTS += -O2 | ||
22 | endif | ||
23 | |||
18 | CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(MUSEPACKOPTS) $(TARGET) \ | 24 | CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(MUSEPACKOPTS) $(TARGET) \ |
19 | $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) | 25 | $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} $(PROFILE_OPTS) |
20 | 26 | ||