summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-08-09 16:53:13 +0000
committerMohamed Tarek <mt@rockbox.org>2010-08-09 16:53:13 +0000
commitcda31811c3798b18e66b744bf2c2a838e3ff9a44 (patch)
tree8cb1823346a0d2b6a5c84253772377b8ad9546d7
parentb2a5e4e13891b65297ae740bf72d5cf2c84c3607 (diff)
downloadrockbox-cda31811c3798b18e66b744bf2c2a838e3ff9a44.tar.gz
rockbox-cda31811c3798b18e66b744bf2c2a838e3ff9a44.zip
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
-rw-r--r--apps/codecs/libwmavoice/README.rockbox4
-rw-r--r--apps/codecs/libwmavoice/wmavoice_mainbuild.patch32
2 files changed, 36 insertions, 0 deletions
diff --git a/apps/codecs/libwmavoice/README.rockbox b/apps/codecs/libwmavoice/README.rockbox
index 4a21a9618b..137ea8c42c 100644
--- a/apps/codecs/libwmavoice/README.rockbox
+++ b/apps/codecs/libwmavoice/README.rockbox
@@ -21,3 +21,7 @@ COMPILING
21 21
22the decoder can be compiled by issuing the "make" command from witin the 22the decoder can be compiled by issuing the "make" command from witin the
23libwmavoice directory in any unix-line environment. 23libwmavoice directory in any unix-line environment.
24
25To test the decoder in the rockbox simulator, cd to libwmavoice directory then
26execute the following command to enable building wma voice:
27patch -p 0 < wmavoice_mainbuild.patch
diff --git a/apps/codecs/libwmavoice/wmavoice_mainbuild.patch b/apps/codecs/libwmavoice/wmavoice_mainbuild.patch
new file mode 100644
index 0000000000..cf349299bd
--- /dev/null
+++ b/apps/codecs/libwmavoice/wmavoice_mainbuild.patch
@@ -0,0 +1,32 @@
1Index: ../codecs.make
2===================================================================
3--- ../codecs.make (revision 27762)
4+++ ../codecs.make (working copy)
5@@ -38,6 +38,7 @@
6 include $(APPSDIR)/codecs/libwavpack/libwavpack.make
7 include $(APPSDIR)/codecs/libwma/libwma.make
8 include $(APPSDIR)/codecs/libwmapro/libwmapro.make
9+include $(APPSDIR)/codecs/libwmavoice/libwmavoice.make
10 include $(APPSDIR)/codecs/libcook/libcook.make
11 include $(APPSDIR)/codecs/librm/librm.make
12 include $(APPSDIR)/codecs/libatrac/libatrac.make
13@@ -79,6 +80,7 @@
14 $(CODECDIR)/ape.codec : $(CODECDIR)/libdemac.a
15 $(CODECDIR)/wma.codec : $(CODECDIR)/libwma.a $(CODECDIR)/libasf.a
16 $(CODECDIR)/wmapro.codec : $(CODECDIR)/libwmapro.a $(CODECDIR)/libasf.a
17+$(CODECDIR)/wmavoice.codec : $(CODECDIR)/libwmavoice.a $(CODECDIR)/libasf.a
18 $(CODECDIR)/wavpack_enc.codec: $(CODECDIR)/libwavpack.a
19 $(CODECDIR)/asap.codec : $(CODECDIR)/libasap.a
20 $(CODECDIR)/cook.codec : $(CODECDIR)/libcook.a $(CODECDIR)/librm.a
21Index: ../SOURCES
22===================================================================
23--- ../SOURCES (revision 27762)
24+++ ../SOURCES (working copy)
25@@ -33,6 +33,7 @@
26 wav64.c
27 tta.c
28 wmapro.c
29+wmavoice.c
30
31 #ifdef HAVE_RECORDING
32