alCSPSetChlProgram.3p 816 Bytes
.TH alCSPSetChlProgram 3P local "Silicon Graphics, Inc."

.SH NAME 
.upperok 
alCSPSetChlProgram \- assigns a MIDI program to a MIDI channel.

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void	alCSPSetChlProgram(ALCSPlayer *seqp, u8 chan, s32 prog);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.B seqp
pointer to the compressed MIDI sequence player. 
.TP
.B chan
zero based MIDI channel number on which to set the program.
.TP
.B prog
the number of the program to assign to the MIDI channel
.SH DESCRIPTION 
alCSPSetChlProgram assigns program number 
.I prog
from the current bank (see 
.B alCSPSetBank) 
to the MIDI channel
.I chan.
Subsequent program changes within the sequence will override the
effect of this call.

.SH SEE ALSO 
alCSPSetBank(3P),
alCSPGetChlProgram(3P),
alCSPSendMidi(3P),
alCSeqPlayer(3P)