alSeqpGetChlPriority.3p
827 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
.TH alSeqpGetChlPriority 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
alSeqpGetChlPriority \- returns the priority for the given MIDI channel.
.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
u8 alSeqpGetChlPriority(ALSeqPlayer *seqp, u8 chan);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I seqp
pointer to Type 0 MIDI sequence player.
.TP
.I chan
the target (0 based) MIDI channel.
.SH DESCRIPTION
alSeqpGetChlPriority returns the priority for the given MIDI channel. A
value of 0 is lowest priority, and 127 is highest priority. Because channel
priority isn't updated until the next call to
.I alAudioFrame,
a call to
.I alSeqpSetChlPriority
followed by a call to
.I alSeqpGetChlPriority
within the same frame will not
reflect the new value.
.SH SEE ALSO
.IR alSeqpSetChlPriority (3P),
.IR alSeqPlayer (3P)