alCSPSetChlProgram.3p
816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.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)