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