alCSPSetChlVol.3p
908 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
43
.TH alCSPSetChlVol 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
alCSPSetChlVol \- set the volume for the given MIDI channel.
.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void alCSPSetChlVol(ALCSPlayer *seqp, u8 chan, u8 vol);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.B seqp
pointer to compressed MIDI sequence player.
.TP
.B chan
the target (0 based) MIDI channel.
.TP
.B vol
the new volume for the MIDI channel.
.SH DESCRIPTION
alCSPSetChlVol sets the volume for the given MIDI channel. A value
of 127 is full volume, and 0 is "off". Subsequent volume controllers
(Cntrl 7) in the sequence will override the effect of this call.
.SH NOTE
In addition to channel volume, the sequence player maintains an overall
sequence volume which can be accessed and set with
.B alCSPGetVol
and
.B alCSPSetVol.
.SH SEE ALSO
alCSPGetChlVol(3P),
alCSPGetVol(3P),
alCSPSendMidi(3P),
alCSeqPlayer(3P)