1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48    <title>nw::snd::WaveSoundHandle</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/snd/Overview.html">snd</a>::WaveSoundHandle</CODE> Class</h1>
52    <div class="section">
53      <b>Header file: </b>nw/snd/snd_WaveSoundHandle.h</div>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class WaveSoundHandle</pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>A handle class used to control wave sounds that are played back.</p><p>If the sound is bound to the general-purpose sound handle <a href="../../../nw/snd/SoundHandle/Overview.html">SoundHandle</a> at time of playback, unique processing for the wave sound is not implemented for the general-purpose handle.</p><p>If you want to execute a unique process for the wave sound, be sure to use a wave sound handle created using a contructor that takes the general-purpose sound handle as an argument.</p><p>Handles are used like the general-purpose sound handle <CODE><A href="../SoundHandle/snd_SoundHandle_Overview.html">SoundHandle</A></CODE>.</p></div>
61    <a name="function" id="function">
62      <h2>Member Functions</h2>
63      <div class="section">
64        <table class="members">
65          <tr>
66            <th class="category" colspan="3">Constructors/Destructors</th>
67          </tr>
68          <tr>
69            <td width="100">  </td>
70            <th>
71              <a href="../../../nw/snd/WaveSoundHandle/WaveSoundHandle.html">WaveSoundHandle</a>
72            </th>
73            <td>Constructor.</td>
74          </tr>
75          <tr>
76            <td width="100">  </td>
77            <th>
78              <a href="../../../nw/snd/WaveSoundHandle/~WaveSoundHandle.html">~WaveSoundHandle</a>
79            </th>
80            <td>Destructor.</td>
81          </tr>
82          <tr>
83            <th class="category" colspan="3">Play, Stop, Pause, Resume</th>
84          </tr>
85          <tr>
86            <td width="100">  </td>
87            <th>
88              <a href="../../../nw/snd/WaveSoundHandle/StartPrepared.html">StartPrepared</a>
89            </th>
90            <td>Plays the sound whose preparation for playback has completed.</td>
91          </tr>
92          <tr>
93            <td width="100">  </td>
94            <th>
95              <a href="../../../nw/snd/WaveSoundHandle/Stop.html"><CODE>Stop</CODE></a>
96            </th>
97            <td>Stops the sound.</td>
98          </tr>
99          <tr>
100            <td width="100">  </td>
101            <th>
102              <a href="../../../nw/snd/WaveSoundHandle/Pause.html">Pause</a>
103            </th>
104            <td>Pauses or restarts a sound.</td>
105          </tr>
106          <tr>
107            <td width="100">  </td>
108            <th>
109              <a href="../../../nw/snd/WaveSoundHandle/IsPrepared.html">IsPrepared</a>
110            </th>
111            <td>Checks whether preparation for sound playback is complete.</td>
112          </tr>
113          <tr>
114            <td width="100">  </td>
115            <th>
116              <a href="../../../nw/snd/WaveSoundHandle/IsPause.html">IsPause</a>
117            </th>
118            <td>Checks whether the sound is currently paused.</td>
119          </tr>
120          <tr>
121            <td width="100">  </td>
122            <th>
123              <a href="../../../nw/snd/WaveSoundHandle/FadeIn.html">FadeIn</a>
124            </th>
125            <td>Fades in the sound when playback starts.</td>
126          </tr>
127          <tr>
128            <th class="category" colspan="3">Updating Parameters</th>
129          </tr>
130          <tr>
131            <td width="100">  </td>
132            <th>
133              <a href="../../../nw/snd/WaveSoundHandle/SetVolume.html">SetVolume</a>
134            </th>
135            <td>Changes the volume of the sound.</td>
136          </tr>
137          <tr>
138            <td width="100">  </td>
139            <th>
140              <a href="../../../nw/snd/WaveSoundHandle/SetPitch.html">SetPitch</a>
141            </th>
142            <td>Changes the pitch of the sound.</td>
143          </tr>
144          <tr>
145            <td width="100">  </td>
146            <th>
147              <a href="../../../nw/snd/WaveSoundHandle/SetPan.html">SetPan</a>
148            </th>
149            <td>Changes the pan (right/left location) of the sound.</td>
150          </tr>
151          <tr>
152            <td width="100">  </td>
153            <th>
154              <a href="../../../nw/snd/WaveSoundHandle/SetPlayerPriority.html">SetPlayerPriority</a>
155            </th>
156            <td>Changes the player priority.</td>
157          </tr>
158          <tr>
159            <td width="100">  </td>
160            <th>
161              <a href="../../../nw/snd/WaveSoundHandle/SetMainSend.html">SetMainSend</a>
162            </th>
163            <td>Changes the main send volume of the sound.</td>
164          </tr>
165          <tr>
166            <td width="100">  </td>
167            <th>
168              <a href="../../../nw/snd/WaveSoundHandle/SetFxSend.html">SetFxSend</a>
169            </th>
170            <td>Changes the effect send volume of the sound.</td>
171          </tr>
172          <tr>
173            <td width="100">  </td>
174            <th>
175              <a href="../../../nw/snd/WaveSoundHandle/SetChannelPriority.html">SetChannelPriority</a>
176            </th>
177            <td>Changes the voicing priority.</td>
178          </tr>
179          <tr>
180            <th class="category" colspan="3">Sets or gets handle control information.</th>
181          </tr>
182          <tr>
183            <td width="100">  </td>
184            <th>
185              <a href="../../../nw/snd/WaveSoundHandle/IsAttachedSound.html">IsAttachedSound</a>
186            </th>
187            <td>Checks whether there is a sound associated with the handle.</td>
188          </tr>
189          <tr>
190            <td width="100">  </td>
191            <th>
192              <a href="../../../nw/snd/WaveSoundHandle/DetachSound.html">DetachSound</a>
193            </th>
194            <td>Frees sounds from handles.</td>
195          </tr>
196          <tr>
197            <th class="category" colspan="3">Get/Set Information</th>
198          </tr>
199          <tr>
200            <td width="100">  </td>
201            <th>
202              <a href="../../../nw/snd/WaveSoundHandle/SetId.html">SetId</a>
203            </th>
204            <td>Sets the ID of a sound.</td>
205          </tr>
206          <tr>
207            <td width="100">  </td>
208            <th>
209              <a href="../../../nw/snd/WaveSoundHandle/GetId.html"><CODE>GetId</CODE></a>
210            </th>
211            <td>Gets the sound's ID.</td>
212          </tr>
213          <tr>
214            <td width="100">  </td>
215            <th>
216              <a href="../../../nw/snd/WaveSoundHandle/ReadWaveSoundDataInfo.html">ReadWaveSoundDataInfo</a>
217            </th>
218            <td>Obtains the wave sound data information.</td>
219          </tr>
220          <tr>
221            <td width="100">  </td>
222            <th>
223              <a href="../../../nw/snd/WaveSoundHandle/GetPlaySamplePosition.html">GetPlaySamplePosition</a>
224            </th>
225            <td>Gets the playback position for the wave sound data currently playing.</td>
226          </tr> </table>
227      </div>
228    </a>
229    <h2>See Also</h2>
230    <div class="section">
231      <p class="reference"><CODE>SoundHandle</CODE> Class </p>
232    </div>
233    <h2>Revision History</h2>
234    <div class="section">
235      <dl class="history">
236        <dt>2010/01/22</dt>
237        <dd>Initial version.<br />
238        </dd>
239      </dl>
240    </div>
241  <hr><p>CONFIDENTIAL</p></body>
242</html>
243