al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions Mus - Mus Library nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
MusSetFxType()Set the audio library FX type. Syntax int MusSetFxType(int fxtype); Arguments
Explanation
This function passes the FX change command to the player via the FIFO buffer. If there is no space free in the FIFO buffer this command will be ignored. The FIFO buffer is emptied every time the player processes sound data. The fxtype argument sets the audio library FX type from one of the following: AL_FX_NONE AL_FX_SMALLROOM AL_FX_BIGROOM (default) AL_FX_CHORUS AL_FX_FLANGE AL_FX_ECHO Return Value
Example void SetFxType(int fxtype) { static int last_fxtype; if (fxtype==last_fxtype) return; last_fxtype = fxtype; while (MusSetFxType(fxtype)==0); } void InitCavernLevel(void) { ... SetFxType(AL_FX_ECHO); ... } See Also
|