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_AssignWaveArc</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="IDAKKWT"></a><div class="titlepage">
10<div></div>
11<div></div>
12</div>
13<h1>SND_AssignWaveArc <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_AssignWaveArc(
18        SNDBankData* <var>bank</var>,
19        int <var>index</var>,
20        SNDWaveArc* <var>waveArc</var> );</code><br></pre></dd>
21</dl>
22<div class="refsection" lang="ja"><a name="IDA4LWT"></a>
23      <h2>Arguments</h2>
24
25      <div class="variablelist">
26<table border="0">
27<col align="left" valign="top">
28<tbody>
29<tr>
30<td><em><strong><font face="Courier New">bank</font></strong></em></td>
31<td>This is the bank data pointer. Must have 32-byte alignment.</td>
32</tr>
33<tr>
34<td><em><strong><font face="Courier New">index</font></strong></em></td>
35<td>This indicates which index number to register Waveform Archive as. Takes values in the range of 0 to 3.</td>
36</tr>
37<tr>
38<td><em><strong><font face="Courier New">waveArc</font></strong></em></td>
39<td>This is the Waveform Archive pointer. Must have 32-byte alignment.</td>
40</tr>
41</tbody>
42</table>
43</div>
44
45    </div>
46<div class="refsection" lang="ja"><a name="IDA1MWT"></a>
47      <h2>Return Values</h2>
48
49      <p>None.</p>
50    </div>
51<div class="refsection" lang="ja"><a name="IDACNWT"></a>
52      <h2>Description</h2>
53      <p>
54Assigns <code>waveArc</code> to the bank as the Waveform Archive with the index number specified by <code>index</code>.
55</p>
56      <p>
57If another Waveform Archive is already assigned to the <code>index</code>number of <code>bank</code>, then that assignment is first released and then it is assigned to the specified Waveform Archive.
58</p>
59      <p>
60Both <code>bank</code> and <code>waveArc</code> must have 32-byte alignment.
61</p>
62    </div>
63<h2>See Also</h2>
64<p>None.</p>
65<h2>Revision History</h2>
66<p>2004/07/20 Initial version.</p>
67</div>
68<hr><p>CONFIDENTIAL</p></body>
69</html>
70