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
|
MusStartSong()Start a song. Syntax musHandle MusStartSong(void *addr); Arguments
Explanation
The address of the song supplied in addr must be 32-bit aligned. When this function is called for a new song, the song data is modified to reflect the song's base address (a list of offsets inside the song data are converted to pointers). Therefore, to move this song to a new address, the original data must be reacquired. Return Value
Example void PlayEntireSong(void *addr); { unsigned long handle; handle = MusStartSong(addr); while (MusHandleAsk(handle)) CallNormalProcessing(); } See Also
|