MusSetScheduler.html
1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<html>
<head>
<title>NINTENDO64 Sound Tools Programing Manual</title>
</head>
<body bgcolor="#d0d0d0" text="#000000" link="#008000" vlink="#008000">
<h1><font color="#000080">MusSetScheduler()</font></h1>
<h2><font color="#ff0000">$B%W%m%H%?%$%W@k8@(B</font></h2>
<pre> void <strong>MusSetScheduler</strong>(musSched *<font color="#0000ff"><code>sched_list</font>);</pre>
<h2><font color="#ff0000">$B0z?t(B</font></h2>
<table>
<tr>
<td valign="top">
<font color="#0000ff"><code>sched_list</code></font>
</td>
<td>
$B%9%1%8%e!<%i%3!<%k%P%C%/4X?t%j%9%H$N%"%I%l%9(B
</td>
</tr>
</table>
<h2><font color="#ff0000">$B@bL@(B</font></h2>
<p>$B30It%9%1%8%e!<%i$r;HMQ$9$k$h$&$K%_%e!<%8%C%/%i%$%V%i%j$r@_Dj$7$^$9!#%i%$%V%i%j$O%0%i%U%#%C%/%9(B/$B%*!<%G%#%*%?%9%/%9%1%8%e!<%i$K4X78$9$k#3$D$N4X?t$G9=@.$5$l$^$9!#$=$N5!G=$KI,MW$J$b$N(B:</p>
<p>$B0z?t(B<font color="#0000ff"><code>sched_list</code></font>$B$O%3!<%k%P%C%/4X?t%j%9%H$N9=B$BN$N%"%I%l%9$G$9!#(B</p>
<p><strong>$BCm0U(B:</strong> $B$3$N4X?t$O!"%i%$%V%i%j$,(B<a href="MusInitialize.html">MusInitialize()</a>$B4X?t$G=i4|2=$5$l$kA0$K8F$P$J$/$F$O$J$j$^$;$s!#(B</p>
<h2><font color="#ff0000">$BLa$jCM(B</font></h2>
<p>$B$J$7(B</p>
<h2><font color="#ff0000">$BNc(B</font></h2>
<pre> <font color="#800000">/* prototypes for NN scheduler support functions */</font>
static void NnSchedInstall(void);
static void NnSchedWaitFrame(void);
static void NnSchedDoTask(musTask *task);
<font color="#800000">/* music library scheduler callback structure */</font>
static musSched nn_mus_sched =
{
NnSchedInstall, NnSchedWaitFrame, NnSchedDoTask
};
void InitMusicDriver(musConfig *init)
{
<strong>MusSetScheduler</strong>(&nn_mus_sched);
<a href="MusInitialize.html">MusInitialize</a>(&init);
}
</pre>
</body>
</html>