alSynAddPlayer.3p
1.11 KB
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
.TH alSynAddPlayer 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
alSynAddPlayer \- add a client player to the synthesizer.
.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void alSynAddPlayer(ALSynth *drvr, ALPlayer *client);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I drvr
pointer to the synthesizer driver.
.TP
.I client
pointer to the client to be added.
.SH DESCRIPTION
Add a client player (e.g. a sequence player) to the synthesizer driver.
A synthesizer can have multiple players. All clients will be called back
by the driver when client event times are reached.
Care must be taken that alSynAddPlayer is not called while a call to
alAudioFrame is processing. This could happen if alSynAddPlayer is
called from within a voice handler, or if the thread that calls
alAudioFrame is blocked for some reason.
Note that this function is for use by those who wish to develop their
own client players. This function is already called from within
alSeqpNew and alSndpNew. Details of building your own client player
are discussed in the Ultra 64 Programming Guide's audio section.
.SH SEE ALSO
.IR alSynRemovePlayer (3P)