|
|
|
|
|
|
|||||||||||||||||||||||||
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
|
![]() |
MusStop()Stop channels. Syntax void MusStop(unsigned long flags, int speed); Arguments
Explanation
The flags argument must contain MUSFLAG_SONGS, MUSFLAG_EFFECTS or both OR'ed together. The speed value is the number of video frames before the channels will be stopped. Any positive integer is valid. A value of zero will stop the sound handle's channels immediately. Return Value
Example void SilenceAllSound(int frames)
{
MusStop(MUSFLAG_SONGS|MUSFLAG_EFFECTS,frames);
while (MusAsk(MUSFLAG_SONGS|MUSFLAG_EFFECTS))
CallNormalProcessing();
}
See Also
|
|||||||||||||||||||||||||||