alSndpAllocate.3p 687 Bytes
.TH alSndpAllocate 3P local "Silicon Graphics, Inc."

.SH NAME 
.upperok 
alSndpAllocate \- allocate a sound to a sound player

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
ALSndId     alSndpAllocate(ALSndPlayer *sndp, ALSound *sound);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I sndp
pointer to a sound player. 
.TP
.I sound
pointer to a sound.
.SH DESCRIPTION
alSndpAllocate allocates a 
.I sound
to a sound player,
.I sndp.
If the allocation is successful a sound identifier, which should be greater 
than or equal to zero, is returned. If the sound player does not have space for
the new sound, -1 is returned. 
.SH SEE ALSO
.IR alSndpNew (3P),
.IR alSndpDeallocate (3P)