Permalink
Browse files

Add a limited, trivial repacketizer for a test_opus format.

This repacketizer only produces multimode packets, for simplicity.

This patch also includes some modifications to test_opus in order
to test the repacketizer.
  • Loading branch information...
1 parent 3e32a69 commit d47b8e0569c52da05287a2e3eb8cf73082d47007 @bemasc committed Aug 5, 2011
Showing with 433 additions and 4 deletions.
  1. +5 −1 Makefile.am
  2. +0 −1 celt_headers.txt
  3. +1 −0 opus_headers.txt
  4. +393 −0 src/repacketizer.c
  5. +30 −0 src/repacketizer.h
  6. +4 −2 src/test_opus.c
View
@@ -16,8 +16,12 @@ pkginclude_HEADERS = src/opus.h
noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD)
-noinst_PROGRAMS = test_opus
+noinst_PROGRAMS = test_opus repacketize
test_opus_SOURCES = src/test_opus.c
test_opus_LDADD = libopus.la -lm
+
+repacketize_SOURCES = src/repacketizer.c
+
+repacketize_LDADD = libopus.la -lm
View
@@ -2,7 +2,6 @@ CELT_HEAD = \
libcelt/arch.h \
libcelt/bands.h \
libcelt/celt.h \
-libcelt/celt_types.h \
libcelt/cwrs.h \
libcelt/ecintrin.h \
libcelt/entcode.h \
View
@@ -1,4 +1,5 @@
OPUS_HEAD = \
+src/repacketizer.h \
src/opus_decoder.h \
src/opus_encoder.h \
src/opus.h
Oops, something went wrong.

0 comments on commit d47b8e0

Please sign in to comment.