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

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

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

<pre>  musHandle <strong>MusStartSongFromMarker</strong>(void *<font color="#0000ff">addr</font>, int <font color="#0000ff">marker</font>);</pre>

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

<table>
  <tr>
    <td valign="top">
      <font color="#0000ff"><code>addr</code></font>
    </td>
    <td>
      $B%P%$%J%j%=%s%0%G!<%?$N%"%I%l%9(B
    </td>
  </tr>
  <tr>
    <td valign="top">
      <font color="#0000ff"><code>marker</code></font>
    </td>
    <td>
      $B%9%?!<%H$9$kF14|%^!<%+!<$NHV9f(B
    </td>
  </tr>
</table>

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

<p>$B;XDj$7$?%"%I%l%9$K$"$k%P%$%J%j%=%s%0$r;XDj$7$?F14|%^!<%+!<$+$i3+;O$7$^$9!#%=%s%0%G!<%?$O%G!<%?Fb$N%]%$%s%?$r%"%/%;%9$G$-$k$h$&$K(B32bit$B%"%i%$%s$G$J$1$l$P$J$j$^$;$s!#(B<a href="MusPtrBankSetSingle.html"><code>MusPtrBankSetSingle()</code></a>$B4X?t$G%*!<%P!<%i%$%I$,@_Dj$5$l$F$$$J$$8B$j!"3+;O$7$?%=%s%0$K$O%G%U%)%k%H$N%5%s%W%k%P%s%/$,;HMQ$5$l$^$9!#%5%s%W%k%P%s%/%*!<%P!<%i%$%I$,@_Dj$5$l$F$$$?$N$J$i!"$3$N4X?t$O$=$N%5%s%W%k%P%s%/%*!<%P!<%i%$%I$r;HMQ$7!"%*!<%P!<%i%$%I$r=i4|2=$7$^$9!#(B</p>

<p><font color="#0000ff"><code>addr</code></font>$B$KM?$($i$l$k%=%s%0$N%"%I%l%9$O(B32bit$B%"%i%$%s$G$J$1$l$P$J$j$^$;$s!#(B</p>

<p><font color="#0000ff"><code>marker</code></font>$B$NCM$O(B0$B$+$i(B255$B$N4V$G;XDj$7$?%=%s%0$KB8:_$9$kHO0O$G$J$/$F$O$J$j$^$;$s!#F14|%^!<%+!<$,;XDj$7$?%=%s%0$KB8:_$7$J$$>l9g!"$3$N4X?t$OLa$C$F$3$J$$2DG=@-$,$"$j!"$=$N7k2L$K$D$$$F$OM=B,IT2DG=$G$9!#(B</p>

<p>$B$3$N4X?t$,?7$7$$%=%s%0$N$?$a$K8F$P$l$?$H$-!"?7$7$$%=%s%0$O%=%s%0$N%Y!<%9%"%I%l%9$rH?1G$9$k$h$&$KJQ99$5$l$^$9!J%=%s%0%G!<%?Fb$N%*%U%;%C%H$N%j%9%H$O%]%$%s%?$KJQ49$5$l$^$9!K!#$=$l$f$(!"$3$N%=%s%0$r?7$7$$%"%I%l%9$K0\F0$9$k$?$a$K$O!"85!9$N%G!<%?$r:F$S<hF@$7$J$1$l$P$J$j$^$;$s!#(B</p>

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

<p>$B%5%&%s%I%O%s%I%k$NCM(B</p>

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

<pre>  void GameSongCallback(musHandle handle, int marker)
  {
    if (handle==gamesong_handle)
      gamesong_position = marker;
  }

  void GameSongStart(void)
  {
    gamesong_position = 0;
    gamesong_handle = <strong>MusStartSongFromMarker</strong>(&amp;song_data, 1);
    <a href="MusSetMarkerCallback.html">MusSetMarkerCallback</a>(GameSongCallback);
  }
</pre>

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

<a href="MusSetMarkerCallback.html"><code>MusSetMarkerCallback()</code></a>,
<a href="MusStartSong.html"><code>MusStartSong()</code></a>,
<a href="MusHandleAsk.html"><code>MusHandleAsk()</code></a>,
<a href="MusHandleSetFreqOffset.html"><code>MusHandleSetFreqOffset()</code></a>,
<a href="MusHandleSetPan.html"><code>MusHandleSetPan()</code></a>,
<a href="MusHandleSetVolume.html"><code>MusHandleSetVolume()</code></a>,
<a href="MusHandleStop.html"><code>MusHandleStop()</code></a>,
<a href="MusSetMasterVolume.html"><code>MusSetMasterVolume()</code></a>,
<a href="MusAsk.html"><code>MusAsk()</code></a>,
<a href="MusStop.html"><code>MusStop()</code></a>

</body>
</html>