1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
2<head>
3<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
4<title>SND_PauseSeq</title>
5<link rel="stylesheet" href="../css/nitro.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
7</head>
8<body>
9<div class="refentry" lang="ja"><a name="IDAFLWT"></a><div class="titlepage">
10<div></div>
11<div></div>
12</div>
13<h1>SND_PauseSeq <IMG src="../image/NTR.gif" width="24" height="12" border="0" align=middle><IMG src="../image/TWL.gif" width="24" height="12" border="0" align=middle></h1>
14<h2>Syntax</h2>
15<dl>
16<dd><pre class="funcsynopsisinfo"><code>#include &lt;nitro/snd.h&gt;</code></pre></dd>
17<dd><pre class="funcprototype"><code class="funcprototype">void SND_PauseSeq( int <var>playerNo</var>, BOOL <var>flag</var> );</code><br></pre></dd>
18</dl>
19<div class="refsection" lang="ja"><a name="IDA4MWT"></a>
20      <h2>Arguments</h2>
21
22      <div class="variablelist">
23<table border="0">
24<col align="left" valign="top">
25<tbody>
26<tr>
27<td><em><strong><code>playerNo</code></strong></em></td>
28<td>The player number. Takes a value between 0 and 15.</td>
29</tr>
30<tr>
31<td><em><strong><code>flag</code></strong></em></td>
32<td>This flag specifies whether to pause or re-start. TRUE = pause. FALSE = play.</td>
33</tr>
34</tbody>
35</table>
36</div>
37
38    </div>
39<div class="refsection" lang="ja"><a name="IDAUNWT"></a>
40      <h2>Return Values</h2>
41
42      <p>None.</p>
43    </div>
44<div class="refsection" lang="ja"><a name="IDA1NWT"></a>
45      <h2>Description</h2>
46      <p>
47Pauses or restarts the sequence being played on the Player specified by the Player number <code>playerNo</code>.
48</p>
49      <div class="note">
50<h3 class="title">Note</h3>
51<p>
52When the sequence gets paused, any note that is sounding is forced to stop. When the sequence begins playing again, that note does not replay.
53</p>
54<p>
55This function is an ARM7 reserved function. After this function is called, its processing will occur only after the command is issued with the <tt class="function"><a href="SND_FlushCommand.html">SND_FlushCommand</a></tt> function.
56</p>
57<p>
58If program execution must be synchronized with process completion, first use the <tt class="function"><a href="SND_GetCurrentCommandTag.html">SND_GetCurrentCommandTag</a></tt> function to obtain the command tag immediately after calling this function. Then, after the command is issued, use the command tag and call either the <tt class="function"><a href="SND_IsFinishedCommandTag.html">SND_IsFinishedCommandTag</a></tt> or <tt class="function"><a href="SND_WaitForCommandProc.html">SND_WaitForCommandProc</a></tt> function to confirm that processing has finished or to wait for it to complete.
59</p>
60</div>
61    </div>
62<h2>See Also</h2>
63<p><code><a href="SND_FlushCommand.html">SND_FlushCommand</a>, <a href="SND_GetCurrentCommandTag.html">SND_GetCurrentCommandTag</a>, <a href="SND_IsFinishedCommandTag.html">SND_IsFinishedCommandTag</a>, <a href="SND_WaitForCommandProc.html">SND_WaitForCommandProc</a></code></p>
64<h2>Revision History</h2>
65<p>2005/02/17 Added a note about ARM7 command processing.<br /> 2004/07/01 Initial version.</p>
66</div>
67<hr><p>CONFIDENTIAL</p></body>
68</html>
69