Tik-76.115 Individual Project: Guinea Pig
$Id: compiling.html,v 1.2 1996/04/22 14:07:28 hynde Exp $
Compiling the Sound Player
To install the
Sound player
you must compile it: Go to the SoundPlayer directory in the
GuineaPig main directory. Then, if you are using
Linux with MSND,
just type
make
and wait for the player to compile. On
SGI, say:
make sgi
instead. It is assumed that the needed include files are found in the
standard place, so be sure to copy the MSND's header file somewhere into
the include path if it isn't there already. The compiler may throw up
some warnings but you can ignore them. The player's 'config.h'
file and other headers can figure out information about your system
and the compiler and also selects automatically between Linux and SGI
options. If everything goes file, you will now have the
gpPlayer binary. Nothing else needs to
be done.
If you want to compile with different compiler options, edit your
changed into the Makefile and compile.
Compile time options
There are some options that can be defined when compiling. Add the
#define's into the 'config.h' file or add the options
to the CFLAGS in the makefile.
- MSND
- When using linux, define MSND (on by default) if you are
using the Multisound Driver for the Turtle Beach
cards. If not set, will use Standard UNIX Sound System
driver (untested). No need to define anything for SGI, the
'config.h' can figure it out itself.
- SAMPLE_MAX_CHANNELS
- Maximum number of channels allowed in sample file. Default for
linux is 2 and for SGI it is 4.
- MAX_NUMSAMPLES
- Maximum number of samples that can be loaded, default is 256.
- MAX_OUTPUTS
- Maximum number of output channels allowed. Default for
Linux/MSND is 2 and for SGI it is 4.
·
Sound Player Index
·
Document index
·
Guinea Pig
·