From 1b8e3801b2444f6e466e1b7c09cfc51605e80fb3 Mon Sep 17 00:00:00 2001 From: Frederik M J Vestre Date: Thu, 26 Jul 2012 14:38:32 +0200 Subject: 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 Tested-by: Bertrik Sikken --- lib/rbcodec/codecs/codecs.make | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/rbcodec/codecs/codecs.make') 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 include $(RBCODECLIB_DIR)/codecs/libgme/libvgm.make include $(RBCODECLIB_DIR)/codecs/libgme/libkss.make include $(RBCODECLIB_DIR)/codecs/libgme/libemu2413.make +include $(RBCODECLIB_DIR)/codecs/libopus/libopus.make # compile flags for codecs CODECFLAGS = $(CFLAGS) $(RBCODEC_CFLAGS) -fstrict-aliasing \ @@ -74,6 +75,7 @@ $(KSSLIB) : CODECFLAGS += -O2 $(M4ALIB) : CODECFLAGS += -O3 $(MUSEPACKLIB) : CODECFLAGS += -O1 $(NSFLIB) : CODECFLAGS += -O2 +$(OPUSLIB) : CODECFLAGS += -O2 $(PCMSLIB) : CODECFLAGS += -O1 $(RMLIB) : CODECFLAGS += -O3 $(SGCLIB) : CODECFLAGS += -O2 @@ -168,6 +170,7 @@ $(CODECDIR)/nsf.codec : $(CODECDIR)/libnsf.a $(CODECDIR)/libemu2413.a $(CODECDIR)/sgc.codec : $(CODECDIR)/libsgc.a $(CODECDIR)/libemu2413.a $(CODECDIR)/vgm.codec : $(CODECDIR)/libvgm.a $(CODECDIR)/libemu2413.a $(CODECDIR)/kss.codec : $(CODECDIR)/libkss.a $(CODECDIR)/libemu2413.a +$(CODECDIR)/opus.codec : $(CODECDIR)/libopus.a $(CODECS): $(CODEC_LIBS) # this must be last in codec dependency list -- cgit v1.2.3