alSndpStop.3p
598 Bytes
.TH alSndpStop 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
alSndpStop \- stop playing the current target sound
.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void alSndpStop(ALSndPlayer *sndp);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I sndp
pointer to a sound player.
.SH DESCRIPTION
Stop playing the current target sound.
This will force the sound into the
release phase of its envelope.
The target sound should be set with a call to
.IR alSndpSetSound(3P).
If the sound is not playing this call
will have no effect.
.SH SEE ALSO
.IR alSndpGetState (3P),
.IR alSndpPlay (3P)