LAME 3.1x    7/99 Mark Taylor (http://www.sulaco.org/mp3)

=======================================================================
Building the MPEG audio encoding software:
=======================================================================
If you are reading this, you have already applied the patch to the
dist10 ISO demonstration source.  If you do not have GTK 1.1.16 or
higher, or do not want the graphical frame analyzer (it uses a lot of
memory), edit the Makefile and dont define GTK and GTKLIBS.  
If you have trouble with libtermcap, you can disable that in
the Makefile.  

Now just type:

n% make

If it doesn't work, figure out why and send me the fix!  
If you are using a newer version of EGCS, check the Makefile.
There are some flags which in some cases will double the performance.

LAME has built in support for raw pcm, aiff and wav formats.  
If you have trouble with this, or want to encode from other
sound formats, you can now compile LAME to use Erik de Castro Lopo's
libsndfile.  To use libsndfile in LAME:

  1. install libsndfile (see http://www.zip.com.au/~erikd/libsndfile/).  
  2. set SNDLIB and LIBSNDFILE as shown in the LAME Makefile.  
  3. make clean ; make

Thanks to Albert Faber for adding the libsndfile support!



=======================================================================
To encode:
=======================================================================
see the file "USAGE" for some usage guidlines.



=======================================================================
Portability
=======================================================================
LAME 3.x has been run on every modern OS.  see the Makefile.




=======================================================================
Information from the ISO README
=======================================================================
Some other flags of interest are:

BS_FORMAT
  Set to BINARY to work with most MPEG audio decoders (and save space). You
  can set it to ASCII, but your bitstream will only work with musicout().

HAVE_NINT
  Define this if your math library already has nint().

NDEBUG
  Define this to turn off all the assertions. Don't define this if you
  are developing code.

DEBUG
  Define this to get debugging messages printed to stdout.

For non-Unix systems you may have to define other things. Be sure to look
at common.h. If you build this on a Macintosh, be sure to use a fairly
recent set of Universal Headers. I have built this code on SunOS 4.1 and
Linux 1.3 (using gcc 2.6.3), and on the Power Macintosh (using Metrowerks
CodeWarrior 6).


<mc@fivebats.com> 1995/10/16
