alSeqpGetTempo.3p
768 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
.TH alSeqpGetTempo 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
alSeqpGetTempo \- returns the tempo of the current sequence.
.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
s32 alSeqpGetTempo(ALSeqPlayer *seqp);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I seqp
pointer to a Type 0 MIDI sequence player.
.SH DESCRIPTION
alSeqpGetTempo returns the tempo at the end of the last call to
.I alAudioFrame,
in microseconds per quarter note, of the target sequence. Because messages
generated by
.I alSeqpSetTempo
are not processed until the next call to
.I alAudioFrame,
a call to
.I alSeqpSetTempo
followed by a call to
.I alSeqpGetTempo
within the same frame will not reflect
the new value.
.SH SEE ALSO
.IR alSeqpSetTempo (3P),
.IR alSeqPlayer (3P)