alSeqpSetVol (function)

alSeqpSetVol

Sets the overall sequence volume

Syntax

#include <libaudio.h>     /* libaudio.h */
void alSeqpSetVol(    ALSeqPlayer *seqp, s16 vol);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSeqpSetVol(N_ALSeqPlayer *seqp, s16 vol);

Arguments

seqp
Pointer to the sequence player

vol
New sequence volume

Description

alSeqpSetVol 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

Individual channels also have volume levels, which you can set by calling the alSeqpSetChlVol function.

See Also

alSeqpGetVol, alSeqpSetChlVol, and alSeqPlayer

Revision History

1999/04/30 Changed Format