alSeqpGetChlPan.3p 835 Bytes
.TH alSeqpGetChlPan 3P local "Silicon Graphics, Inc."

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

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
ALPan   alSeqpGetChlPan(ALSeqPlayer *seqp, u8 chan);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I seqp
pointer to Type 0 MIDI sequence player. 
.TP
.I chan
the target (0 based) MIDI channel.
.SH DESCRIPTION
alSeqpGetChlPan 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 
.I alSeqpSetChlPan 
are not processed until the next 
call to 
.I alAudioFrame,
a call to
.I alSeqpSetChlPan
followed by a call to 
.I alSeqpGetChlPan 
within the same frame will not 
reflect the new value.

.SH SEE ALSO 
.IR alSeqpSetChlPan (3P)
.IR alSeqPlayer (3P)