forked from len0rd/rockbox
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>
This commit is contained in:
parent
72ebcbf73b
commit
1b8e3801b2
127 changed files with 28373 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue