shithub: sox

Download patch

ref: 2e27f217c13e3a0ee3cf82ab37b85d4b470b0e8d
parent: 8748bd3cde86dda00a454c8bf526f6c83976e6d4
author: cbagwell <cbagwell>
date: Sat Feb 12 15:51:26 EST 2011

Update AMR information to be opencore centric.

--- a/INSTALL
+++ b/INSTALL
@@ -18,7 +18,7 @@
 libraries, where to get them (if not from your OS distribution), and
 their licence types, is as follows:
 
-OpencoreAMR-NB/WB http://opencore-amr.sourceforge.net/  Apache
+OpencoreAMR-NB/WB http://.sourceforge.net/projects/opencore-amr  Apache
 AMR-NB/WB         http://www.penguin.cz/~utx/amr        See library web page
 AO                http://xiph.org/ao                    GPL
 ffmpeg            http://ffmpeg.mplayerhq.hu            LGPL
--- a/README.osx
+++ b/README.osx
@@ -67,6 +67,7 @@
 MP3 support can be enabled by placing Lame encoding library and/or
 MAD decoding library into a standard library search location such
 as /usr/lib or /usr/local/lib..
+
 These can be compiled yourself, may turn up on searches of the internet
 or may be included with other MP3 applications already installed
 on your system. Try searching for libmp3lame.dylib and libmad.dylib.
@@ -88,3 +89,28 @@
 ./configure
 make
 sudo make install
+
+Appendix - AMR-NB/AMR-WB Support
+--------------------------------
+
+SoX contains support for reading and writing AMR-NB and AMR-WB files but 
+does not ship with the DLL's that perform decoding and encoding of AMR
+data because of patent restrictions. 
+
+AMR-NB/AMR-WB support can be enabled by placing required libraries
+into a standard library search location such as /usr/lib or
+/usr/local/lib.
+
+These can be compiled yourself, may turn up on searches of the internet
+or may be included with other AMR applications already installed
+on your system. Try searching for libopencore-amrnb.dylib and 
+libopencore-amrwb.dylib.
+
+Obtain the latest amrnb and amrwb source code from 
+http://sourceforge.net/projects/opencore-amr
+
+cd opencore-amr-0.1.2
+./configure
+make
+sudo make install
+
--- a/README.win32
+++ b/README.win32
@@ -184,17 +184,13 @@
 bash shell cygwin installs.
 
 Obtain the latest amrnb and amrwb source code from 
-http://www.penguin.cz/~utx/amr .
+http://sourceforge.net/projects/opencore-amr .
 
-cd amrnb-7.0.0.2
+cd opencore-amr-0.1.2
 ./configure
 make
-cp .libs/cygamrnb-3.dll /path/to/sox
-
-cd amrwb-7.0.0.3
-./configure
-make
-cp .libs/cygamrwb-3.dll /path/to/sox
+cp amrnb/.libs/cygopencore-amrnb.dll /path/to/sox
+cp amrwb/.libs/cygopencore-amrwb.dll /path/to/sox
 
 cp /bin/cygwin1.dll /path/to/sox
 [if compiling with cygwin 1.7 you also need to copy following:]