alSynRemovePlayer.3p
881 Bytes
.TH alSynRemovePlayer 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
alSynRemovePlayer \- remove a player from the synthesizer driver.
.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void alSynRemovePlayer(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 removed.
.SH DESCRIPTION
Remove a player from the list of synthesizer driver clients. Note that
all voices should have previously been stopped using alSynStopVoice
and freed using alSynFreeVoice. alSynRemovePlayer should
.I not
be called from within an ALVoiceHandler. Care must also be taken to insure
that alSynRemovePlayer isn't called when alAudioFrame might be in the process
of execution from another thread.
.SH SEE ALSO
.IR alSynAddPlayer (3P),
.IR alSynStopVoice (3P),
.IR alSynFreeVoice (3P)