wavrec & mpegrec  2/2000   Andrew L. Sandoval  sandoval@netwaysglobal.com

===============================================================================
Building wavrec:
===============================================================================
wavrec and mpegrec are designed to work on Linux x86 systems with
sound cards already supported by the kernel.  If your card works with /dev/dsp
and /usr/include/sys/soundcard.h then wavrec should work for you.

mpegrec is wavrec with add logic to pipe WAV output to the 'lame' mp3
encoder.  For details on lame see: http://www.sulaco.org/mp3.  You can compile
and install mpegrec on a system lacking 'lame', but it will not function
properly until lame is installed and in your PATH.

To build wavrec and mpegrec simply type 'make' at the shell:

$ make

To install wavrec and a sym-link for mpegrec type 'make install':

$ make install

By default the files will be installed in /usr/local/bin.  If you prefer another
location set the PREFIX environment variable when calling make.

For example, say you would prefer installation in /usr/bin.  Simply type:

$ make install PREFIX=/usr

The Makefile is also setup to look for libhoard (See http://www.hoard.org for
details).  libhoard is a library seeks to prevent heap contention on SMP
systems.  If you have installed libhoard in /usr/lib or /usr/local/lib the
Makefile should be able to find it.

===============================================================================
Portability
===============================================================================
I have only tested this on a dual Pentium II 450 running Linux Mandrake 7.0.  I
am confident however that it should work on any Linux machine with a supported
sound card and sufficient memory and CPU power to handle the double buffering
recorded to capture high bitrate audio and encode it with lame.

-Andrew L. Sandoval


