alCSPGetChlPan.3p 818 Bytes
.TH alCSPGetChlPan 3P local "Silicon Graphics, Inc."

.SH NAME 
.upperok 
alCSPGetChlPan \- returns the pan position for the given MIDI channel.

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
ALPan   alCSPGetChlPan(ALCSPlayer *seqp, u8 chan);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.B seqp
pointer to compressed MIDI sequence player. 
.TP
.B chan
the target (0 based) MIDI channel.
.SH DESCRIPTION
alCSPGetChlPan returns the pan position for the given MIDI channel. A
value of 0 is hard left, 64 is center, and 127 is hard right. Because
messages generated by 
.B alCSPSetChlPan 
are not processed until the next 
call to 
.B alAudioFrame,
a call to
.B alCSPSetChlPan
followed by a call to alCSPGetChlPan within the same frame will not 
reflect the new value.

.SH SEE ALSO 
alCSPSetChlPan(3P),
alCSeqPlayer(3P)