alSndpSetPan.3p 947 Bytes
.TH alSndpSetPan 3P local "Silicon Graphics, Inc."

.SH NAME 
.upperok 
alSndpSetPan \- set the pan position of the current target sound

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void	alSndpSetPan(ALSndPlayer *sndp, ALPan pan);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I sndp
pointer to a sound player. 
.TP
.I pan
pan position. A value of 0 indicates the sound should be panned completely to
the left and 127 indicates the sound should be panned completely to the
right. Note that the pan value is added to the pan value associated with the
sound in the sound bank.
.SH DESCRIPTION
Set the pan value of the current target sound. 
The target sound should be set with a call to 
.IR alSndpSetSound(3P).
If the sound is playing
the pan will be adjusted. If the sound is not playing this call
will effect the pan position of the sound when it is played.
.SH SEE ALSO
.IR alSndpSetVol (3P),
.IR alSndpSetPitch (3P),
.IR alSndpSetFXmix (3P)