MusFxBankNumberOfEffects.html 1.84 KB
<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&gt;=<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>