MusFxBankNumberOfEffects.html
1.84 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
<html>
<head>
<title>NINTENDO64 Sound Tools Programing Manual</title>
</head>
<body bgcolor="#d0d0d0" text="#000000" link="#008000" vlink="#008000">
<h1><font color="#000080">MusFxBankNumberOfEffects()</font></h1>
<h2><font color="#ff0000">$B%W%m%H%?%$%W@k8@(B</font></h2>
<pre> int <strong>MusFxBankNumberOfEffects</strong>(void *<font color="#0000ff">ifxbank</font>);</pre>
<h2><font color="#ff0000">$B0z?t(B</font></h2>
<table>
<tr>
<td valign="top">
<font color="#0000ff"><code>ifxbank</code></font>
</td>
<td>
$B=i4|2=:Q$_$N%5%&%s%I%(%U%'%/%H%P%s%/$N%"%I%l%9(B
</td>
</tr>
</table>
<h2><font color="#ff0000">$B@bL@(B</font></h2>
<p>$B;XDj$7$?%5%&%s%I%(%U%'%/%H%P%s%/$K$"$k%5%&%s%I%(%U%'%/%H$N?t$rJV$7$^$9!#%5%&%s%I%(%U%'%/%H%P%s%/$r;HMQ$7$F%5%&%s%I%(%U%'%/%H$r3+;O$9$k$H$-!"HV9f$NHO0O$O(B0$B$+$i(B<code><strong>MusFxBankNumberOfEffects()</strong>-1</code>$B$H$J$j$^$9!#(B</p>
<p>$B0z?t(B<font color="#0000ff"><code>ifxbank</code></font>$B$O!"(B<a href="MusFxBankInitialize.html"><code>MusFxBankInitialize()</code></a>$B4X?t$G=i4|2=$5$l$?%5%&%s%I%(%U%'%/%H%P%s%/$N%"%I%l%9$G$J$/$F$O$J$j$^$;$s!#(B</p>
<h2><font color="#ff0000">$BLa$jCM(B</font></h2>
<p>$B;XDj$7$?%5%&%s%I%(%U%'%/%H%P%s%/$KB8:_$9$k%5%&%s%I%(%U%'%/%H$N?t!#(B</p>
<h2><font color="#ff0000">$BNc(B</font></h2>
<pre> musHandle AudioStartEffect(void *fxbank, int number)
{
musHandle handle;
if (number>=<strong>MusFxBankNumberOfEffects</strong>(fxbank))
return (0); <font color="#800000">/* failure! */</font>
<a href="MusFxBankSetSingle.html">MusFxBankSetSingle</a>(fxbank);
handle = <a href="MusStartEffect.html">MusStartEffect</a>(number);
return (handle);
}
</pre>
<h2><font color="#ff0000">$B;2>H(B</font></h2>
<a href="MusFxBankInitialize.html"><code>MusFxBankInitialize()</code></a>
</body>
</html>