alSynAddPlayer alSynAddPlayer (function)


Adds a client player to the synthesizer


#include <libaudio.h>     /* libaudio.h */
void alSynAddPlayer(ALSynth *drvr, ALPlayer *client);


Pointer to the synthesizer driver

Pointer to the client to be added


alSynAddPlayer adds a client player (for example, 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.

Ensure that this function 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 want to develop their own client players. This function is already called from within alSeqpNew and alSndpNew. For information on how to build your own client player, see the audio section of the N64 Programming Manual.

See Also

alSynRemovePlayer, alAudioFrame

Revision History

1999/04/30 Changed Format