alCSPGetVol.3p
919 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 alCSPGetVol 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
alCSPGetVol \- returns the overall sequence volume.
.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
s16 alCSPGetVol(ALCSPlayer *seqp);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.B seqp
pointer to the compressed MIDI sequence player.
.SH DESCRIPTION
alCSPGetVol returns the overall sequence volume at the end of the last call to
.B alAudioFrame.
A value of 0x7fff indicates full volume and a value of 0 indicates "off".
Negative values are not allowed.
Because messages generated by
.B alCSPSetVol
are not processed until the next call of
.B alAudioFrame,
a call to
.B alCSPSetVol
followed by a call to alCSPGetVol within the same frame will not reflect
the new value.
.SH NOTE
Individual channels also have volume levels which may be obtained with
.B alCSPGetChlVol
.SH SEE ALSO
alCSPSetVol(3P),
alCSPGetChlVol(3P),
alCSeqPlayer(3P)