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