alSndpSetSound.3p
690 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
.TH alSndpSetSound 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
alSndpSetSound \- set the current target sound in a sound player
.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void alSndpSetSound(ALSndPlayer *sndp, ALSndId id);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I sndp
pointer to a sound player.
.TP
.I id
unique number which identifies a sound within a sound player. This
id is returned when the sound is allocated to the sound player.
.SH DESCRIPTION
alSndpSetSound sets the current target to the sound indicated by
.I id.
Future calls to routines which set parameters refer to the target
sound.
.SH SEE ALSO
.IR alSndpGetSound (3P),
.IR alSndpAllocate (3P)