alCSPSetVol (function)

alCSPSetVol, n_alCSPSetVol

Sets the overall sequence volume

Syntax

#include <libaudio.h>     /* libaudio.h */

void alCSPSetVol(    ALCSPlayer *seqp, s16 vol);
#include <n_libaudio.h>     /* n_libaudio.h */

void n_alCSPSetVol(N_ALCSPlayer *seqp, s16 vol);

Arguments

seqp
Pointer to the compressed MIDI sequence player

vol
New sequence volume

Description

alCSPSetVol sets the overall sequence volume. A value of 0x7fff indicates full scale and a value of 0 indicates off.

For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.

Note

Note that individual channels also have volume levels, which you can set by calling the alCSPSetChlVol function.

See Also

alCSPGetVol, alCSPSetChlVol, and alCSeqPlayer

Revision History

1999/04/30 Changed Format