add a patch to libwmavoice to make it easier to enable/disable building it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27763 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Mohamed Tarek 2010-08-09 16:53:13 +00:00
parent b2a5e4e138
commit cda31811c3
2 changed files with 36 additions and 0 deletions

View file

@ -21,3 +21,7 @@ COMPILING
the decoder can be compiled by issuing the "make" command from witin the the decoder can be compiled by issuing the "make" command from witin the
libwmavoice directory in any unix-line environment. libwmavoice directory in any unix-line environment.
To test the decoder in the rockbox simulator, cd to libwmavoice directory then
execute the following command to enable building wma voice:
patch -p 0 < wmavoice_mainbuild.patch

View file

@ -0,0 +1,32 @@
Index: ../codecs.make
===================================================================
--- ../codecs.make (revision 27762)
+++ ../codecs.make (working copy)
@@ -38,6 +38,7 @@
include $(APPSDIR)/codecs/libwavpack/libwavpack.make
include $(APPSDIR)/codecs/libwma/libwma.make
include $(APPSDIR)/codecs/libwmapro/libwmapro.make
+include $(APPSDIR)/codecs/libwmavoice/libwmavoice.make
include $(APPSDIR)/codecs/libcook/libcook.make
include $(APPSDIR)/codecs/librm/librm.make
include $(APPSDIR)/codecs/libatrac/libatrac.make
@@ -79,6 +80,7 @@
$(CODECDIR)/ape.codec : $(CODECDIR)/libdemac.a
$(CODECDIR)/wma.codec : $(CODECDIR)/libwma.a $(CODECDIR)/libasf.a
$(CODECDIR)/wmapro.codec : $(CODECDIR)/libwmapro.a $(CODECDIR)/libasf.a
+$(CODECDIR)/wmavoice.codec : $(CODECDIR)/libwmavoice.a $(CODECDIR)/libasf.a
$(CODECDIR)/wavpack_enc.codec: $(CODECDIR)/libwavpack.a
$(CODECDIR)/asap.codec : $(CODECDIR)/libasap.a
$(CODECDIR)/cook.codec : $(CODECDIR)/libcook.a $(CODECDIR)/librm.a
Index: ../SOURCES
===================================================================
--- ../SOURCES (revision 27762)
+++ ../SOURCES (working copy)
@@ -33,6 +33,7 @@
wav64.c
tta.c
wmapro.c
+wmavoice.c
#ifdef HAVE_RECORDING