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::StreamSoundHandle</title> 51 </head> 52 <body> 53 <h1>nw::snd::StreamSoundHandle Class</h1> 54 <div class="section"> 55 <b>Header file: </b>nw/snd/snd_StreamSoundHandle.h</div> 56 <h2>Syntax</h2> 57 <div class="section"> 58 <pre class="definition">class StreamSoundHandle</pre> 59 </div> 60 <h2>Description</h2> 61 <div class="section"> 62 <p>A handle class used to control stream 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 stream sound is not implemented for the general-purpose handle.</p><p>If you want to execute a unique process for the stream sound, be sure to use a stream 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/StreamSoundHandle/StreamSoundHandle.html">StreamSoundHandle</a> 74 </th> 75 <td>Constructor.</td> 76 </tr> 77 <tr> 78 <td width="100"> </td> 79 <th> 80 <a href="../../../nw/snd/StreamSoundHandle/~StreamSoundHandle.html">~StreamSoundHandle</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/StreamSoundHandle/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/StreamSoundHandle/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/StreamSoundHandle/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/StreamSoundHandle/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/StreamSoundHandle/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/StreamSoundHandle/IsSuspendByLoadingDelay.html">IsSuspendByLoadingDelay</a> 126 </th> 127 <td>Checks whether or not streaming has been stopped due to a loading delay.</td> 128 </tr> 129 <tr> 130 <td width="100"> </td> 131 <th> 132 <a href="../../../nw/snd/StreamSoundHandle/FadeIn.html">FadeIn</a> 133 </th> 134 <td>Fades in the sound when playback starts.</td> 135 </tr> 136 <tr> 137 <th class="category" colspan="3">Updating Parameters</th> 138 </tr> 139 <tr> 140 <td width="100"> </td> 141 <th> 142 <a href="../../../nw/snd/StreamSoundHandle/SetVolume.html">SetVolume</a> 143 </th> 144 <td>Changes the volume of the sound.</td> 145 </tr> 146 <tr> 147 <td width="100"> </td> 148 <th> 149 <a href="../../../nw/snd/StreamSoundHandle/SetPitch.html">SetPitch</a> 150 </th> 151 <td>Changes the pitch of the sound.</td> 152 </tr> 153 <tr> 154 <td width="100"> </td> 155 <th> 156 <a href="../../../nw/snd/StreamSoundHandle/SetPan.html">SetPan</a> 157 </th> 158 <td>Changes the pan (right/left location) of the sound.</td> 159 </tr> 160 <tr> 161 <td width="100"> </td> 162 <th> 163 <a href="../../../nw/snd/StreamSoundHandle/SetPlayerPriority.html">SetPlayerPriority</a> 164 </th> 165 <td>Changes the player priority.</td> 166 </tr> 167 <tr> 168 <td width="100"> </td> 169 <th> 170 <a href="../../../nw/snd/StreamSoundHandle/SetMainSend.html">SetMainSend</a> 171 </th> 172 <td>Changes the main send volume of the sound.</td> 173 </tr> 174 <tr> 175 <td width="100"> </td> 176 <th> 177 <a href="../../../nw/snd/StreamSoundHandle/SetFxSend.html">SetFxSend</a> 178 </th> 179 <td>Changes the effect send volume of the sound.</td> 180 </tr> 181 <tr> 182 <th class="category" colspan="3">Updating Track Parameters</th> 183 </tr> 184 <tr> 185 <td width="100"> </td> 186 <th> 187 <a href="../../../nw/snd/StreamSoundHandle/SetTrackVolume.html">SetTrackVolume</a> 188 </th> 189 <td>Changes the volume of streaming sound tracks.</td> 190 </tr> 191 <tr> 192 <td width="100"> </td> 193 <th> 194 <a href="../../../nw/snd/StreamSoundHandle/SetTrackPan.html">SetTrackPan</a> 195 </th> 196 <td>Changes the pan (lateral localization) of a streaming sound's tracks.</td> 197 </tr> 198 <tr> 199 <td width="100"> </td> 200 <th> 201 <a href="../../../nw/snd/StreamSoundHandle/SetTrackSurroundPan.html">SetTrackSurroundPan</a> 202 </th> 203 <td>Changes the surround pan (front-back position) of a track in a stream sound.</td> 204 </tr> 205 <tr> 206 <th class="category" colspan="3">Handle Operations</th> 207 </tr> 208 <tr> 209 <td width="100"> </td> 210 <th> 211 <a href="../../../nw/snd/StreamSoundHandle/IsAttachedSound.html">IsAttachedSound</a> 212 </th> 213 <td>Checks whether there is a sound associated with the handle.</td> 214 </tr> 215 <tr> 216 <td width="100"> </td> 217 <th> 218 <a href="../../../nw/snd/StreamSoundHandle/DetachSound.html">DetachSound</a> 219 </th> 220 <td>Frees sounds from handles.</td> 221 </tr> 222 <tr> 223 <th class="category" colspan="3">Get/Set Information</th> 224 </tr> 225 <tr> 226 <td width="100"> </td> 227 <th> 228 <a href="../../../nw/snd/StreamSoundHandle/SetId.html">SetId</a> 229 </th> 230 <td>Sets the ID of a sound.</td> 231 </tr> 232 <tr> 233 <td width="100"> </td> 234 <th> 235 <a href="../../../nw/snd/StreamSoundHandle/GetId.html"><CODE>GetId</CODE></a> 236 </th> 237 <td>Gets the sound's ID.</td> 238 </tr> 239 <tr> 240 <td width="100"> </td> 241 <th> 242 <a href="../../../nw/snd/StreamSoundHandle/ReadStreamDataInfo.html">ReadStreamDataInfo</a> 243 </th> 244 <td>Obtains stream data information.</td> 245 </tr> 246 <tr> 247 <td width="100"> </td> 248 <th> 249 <a href="../../../nw/snd/StreamSoundHandle/GetPlayLoopCount.html">GetPlayLoopCount</a> 250 </th> 251 <td>Obtains the loop count for the stream data currently playing.</td> 252 </tr> 253 <tr> 254 <td width="100"> </td> 255 <th> 256 <a href="../../../nw/snd/StreamSoundHandle/GetPlaySamplePosition.html">GetPlaySamplePosition</a> 257 </th> 258 <td>Obtains the playback position for the stream data currently playing.</td> 259 </tr> </table> 260 </div> 261 </a> 262 <h2>See Also</h2> 263 <div class="section"> 264 <p class="reference"><CODE>SoundHandle</CODE> Class </p> 265 </div> 266 <h2>Revision History</h2> 267 <div class="section"> 268 <dl class="history"> 269 <dt>2010/01/22</dt> 270 <dd>Initial version.<br /> 271 </dd> 272 </dl> 273 </div> 274 <hr><p>CONFIDENTIAL</p></body> 275</html>