MusHandleWaveCount.html 2.11 KB
<html>
<head>
<title>NINTENDO64 Sound Tools Programing Manual</title>
</head>
<body bgcolor="#d0d0d0" text="#000000" link="#008000" vlink="#008000">

<h1><font color="#000080">MusHandleWaveCount()</font></h1>

<h2><font color="#ff0000">$B%W%m%H%?%$%W@k8@(B</font></h2>

<pre>  int <strong>MusHandleWaveAddress</strong>(musHandle <font color="#0000ff">handle</font>);</pre>

<h2><font color="#ff0000">$B0z?t(B</font></h2>

<table>
  <tr>
    <td valign="top">
      <font color="#0000ff"><code>handle</code></font>
    </td>
    <td>
      $B%5%&%s%I%O%s%I%k(B
    </td>
  </tr>
</table>

<h2><font color="#ff0000">$B@bL@(B</font></h2>

<p>$B;XDj$7$?%5%&%s%I%O%s%I%k$K4XO"$9$k%A%c%s%M%k$G;H$o$l$F$$$k%&%'!<%V%k%C%/%"%C%W%F!<%V%k$N9`L\$N?t$rJV$7$^$9!#%&%'!<%V%k%C%/%"%C%W%F!<%V%k$O%i%$%V%i%j$NFbIt$G%=%s%0$d%5%&%s%I%(%U%'%/%H%P%s%/$N%5%s%W%kHV9f$r%5%s%W%k%P%s%/$N%$%s%G%C%/%9$KJQ49$9$k$?$a$K;H$o$l$^$9!#(B</p>

<p>$B0z?t(B<font color="#0000ff"><code>handle</code></font>$B$O(B<a href="MusStartSong.html"><code>MusStartSong()</code></a>$B!"(B <a href="MusStartSongFromMarker.html"><code>MusStartSongFromMarker()</code></a>$B!"(B <a href="MusStartEffect.html"><code>MusStartEffect()</code></a>$B$"$k$$$O(B<a href="MusStartEffect2.html"><code>MusStartEffect2()</code></a>$B$K$h$C$FJV$5$l$k%5%&%s%I%O%s%I%k$G$J$1$l$P$J$j$^$;$s!#$b$7(B<font color="#0000ff"><code>handle</code></font>$B$H$7$F(B0$B$,M?$($i$l$?$J$i!"$3$N4X?t$O>o$K(B0$B$rJV$7$^$9!#(B</p>

<h2><font color="#ff0000">$BLa$jCM(B</font></h2>

<p>$B%&%'!<%V%F!<%V%k$N%k%C%/%"%C%W%5%$%:!#(B</p>

<h2><font color="#ff0000">$BNc(B</font></h2>

<pre>  unsigned short *DuplicateLookUp(musHandle handle)
  {
    int i, count;
    unsigned short *src, *dest;

    count = <strong>MusHandleWaveCount</strong>(handle);
    dest = MemMalloc(sizeof(unsigned short)*count);
    src = <a href="MusHandleWaveAddress.html">MusHandleWaveAddress</a>(handle);

    for (i=0; i&lt;count; i++)
      dest[i]=src[i];

    return (dest);
  }
</pre>

<h2><font color="#ff0000">$B;2>H(B</font></h2>

<a href="MusHandleWaveAddress.html"><code>MusHandleWaveAddress()</code></a>

</body>
</html>