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
|
MusSetScheduler()Configure the library to use an external scheduler. Syntax void MusSetScheduler(musSched *sched_list); Arguments
Explanation
The sched_list argument takes the address of the callback function list structure. Notes
Return Value
Example /* prototypes for NN scheduler support functions */ static void NnSchedInstall(void); static void NnSchedWaitFrame(void); static void NnSchedDoTask(musTask *task); /* music library scheduler callback structure */ static musSched nn_mus_sched = { NnSchedInstall, NnSchedWaitFrame, NnSchedDoTask }; void InitMusicDriver(musConfig *init) { MusSetScheduler(&nn_mus_sched); MusInitialize(&init); }
|