summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/codecs.make
diff options
context:
space:
mode:
authorFrederik M J Vestre <freqmod@gmail.com>2012-07-26 14:38:32 +0200
committerBertrik Sikken <bertrik@sikken.nl>2012-09-20 20:47:44 +0200
commit1b8e3801b2444f6e466e1b7c09cfc51605e80fb3 (patch)
treebd1d6fe08452d388d0d160ec02e03963f3f9525d /lib/rbcodec/codecs/codecs.make
parent72ebcbf73b4db911d517a66c820fdceccb8ec798 (diff)
downloadrockbox-1b8e3801b2444f6e466e1b7c09cfc51605e80fb3.tar.gz
rockbox-1b8e3801b2444f6e466e1b7c09cfc51605e80fb3.zip
Initial opus codec support
Synchronised with opus repo on github (https://github.com/freqmod/rockbox-opus) Status: * Seeking ported from speex, but fails on some cases (e.g. seek to granule 0) * ReplayGain parsing needs to be reworked, we do vorbis-style replaygain now. http://wiki.xiph.org/OggOpus#Comment_Header explicitly forbids these in favour of R128_TRACK_GAIN tag. * No optimisation yet, source files still nearly identical to opus upstream * Multi-stream opus files may not be parsed correctly Change-Id: Ia66f1027dc1d288083e3c57b2816700078376f9a Reviewed-on: http://gerrit.rockbox.org/300 Reviewed-by: Bertrik Sikken <bertrik@sikken.nl> Tested-by: Bertrik Sikken <bertrik@sikken.nl>
Diffstat (limited to 'lib/rbcodec/codecs/codecs.make')
-rw-r--r--lib/rbcodec/codecs/codecs.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/codecs.make b/lib/rbcodec/codecs/codecs.make
index 919aef2024..f56c032c60 100644
--- a/lib/rbcodec/codecs/codecs.make
+++ b/lib/rbcodec/codecs/codecs.make
@@ -51,6 +51,7 @@ include $(RBCODECLIB_DIR)/codecs/libgme/libsgc.make
51include $(RBCODECLIB_DIR)/codecs/libgme/libvgm.make 51include $(RBCODECLIB_DIR)/codecs/libgme/libvgm.make
52include $(RBCODECLIB_DIR)/codecs/libgme/libkss.make 52include $(RBCODECLIB_DIR)/codecs/libgme/libkss.make
53include $(RBCODECLIB_DIR)/codecs/libgme/libemu2413.make 53include $(RBCODECLIB_DIR)/codecs/libgme/libemu2413.make
54include $(RBCODECLIB_DIR)/codecs/libopus/libopus.make
54 55
55# compile flags for codecs 56# compile flags for codecs
56CODECFLAGS = $(CFLAGS) $(RBCODEC_CFLAGS) -fstrict-aliasing \ 57CODECFLAGS = $(CFLAGS) $(RBCODEC_CFLAGS) -fstrict-aliasing \
@@ -74,6 +75,7 @@ $(KSSLIB) : CODECFLAGS += -O2
74$(M4ALIB) : CODECFLAGS += -O3 75$(M4ALIB) : CODECFLAGS += -O3
75$(MUSEPACKLIB) : CODECFLAGS += -O1 76$(MUSEPACKLIB) : CODECFLAGS += -O1
76$(NSFLIB) : CODECFLAGS += -O2 77$(NSFLIB) : CODECFLAGS += -O2
78$(OPUSLIB) : CODECFLAGS += -O2
77$(PCMSLIB) : CODECFLAGS += -O1 79$(PCMSLIB) : CODECFLAGS += -O1
78$(RMLIB) : CODECFLAGS += -O3 80$(RMLIB) : CODECFLAGS += -O3
79$(SGCLIB) : CODECFLAGS += -O2 81$(SGCLIB) : CODECFLAGS += -O2
@@ -168,6 +170,7 @@ $(CODECDIR)/nsf.codec : $(CODECDIR)/libnsf.a $(CODECDIR)/libemu2413.a
168$(CODECDIR)/sgc.codec : $(CODECDIR)/libsgc.a $(CODECDIR)/libemu2413.a 170$(CODECDIR)/sgc.codec : $(CODECDIR)/libsgc.a $(CODECDIR)/libemu2413.a
169$(CODECDIR)/vgm.codec : $(CODECDIR)/libvgm.a $(CODECDIR)/libemu2413.a 171$(CODECDIR)/vgm.codec : $(CODECDIR)/libvgm.a $(CODECDIR)/libemu2413.a
170$(CODECDIR)/kss.codec : $(CODECDIR)/libkss.a $(CODECDIR)/libemu2413.a 172$(CODECDIR)/kss.codec : $(CODECDIR)/libkss.a $(CODECDIR)/libemu2413.a
173$(CODECDIR)/opus.codec : $(CODECDIR)/libopus.a
171 174
172$(CODECS): $(CODEC_LIBS) # this must be last in codec dependency list 175$(CODECS): $(CODEC_LIBS) # this must be last in codec dependency list
173 176