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::SoundArchive::SoundInfo</title> 51 </head> 52 <body> 53 <h1>nw::snd::SoundArchive::SoundInfo Structure</h1> 54 <div class="section"> 55 <b>Header file: </b>nw/snd/snd_SoundArchive.h</div> 56 <h2>Syntax</h2> 57 <div class="section"> 58 <pre class="definition">struct SoundInfo 59{ 60 <a href="../../../../nw/snd/SoundArchive/FileId.html">FileId</a> fileId; 61 <a href="../../../../nw/snd/SoundArchive/ItemId.html">ItemId</a> playerId; 62 int actorPlayerId; 63 int playerPriority; 64 int volume; 65 <a href="../../../../nw/snd/PanMode.html">PanMode</a> panMode; 66 <a href="../../../../nw/snd/PanCurve.html">PanCurve</a> panCurve; 67 bool isFrontBypass; 68}; 69</pre> 70 </div> 71 <h2>Description</h2> 72 <div class="section"> 73 <p>Structure storing a sound's settings information.</p><p>If isFrontBypass is true and the output mode set using <a href="../../../../nw/snd/SoundSystem/SetOutputMode.html">SoundSystem::SetOutputMode</a> is OUTPUT_MODE_SURROUND, the corresponding sound bypasses the front channel.</p></div> 74 <a name="variable" id="variable"> 75 <h2>Member Variables</h2> 76 <div class="section"> 77 <table class="members"> 78 <tr> 79 <td width="100"> </td> 80 <th> 81 <span class="argument">fileId</span> 82 </th> 83 <td>A file ID in a sound archive.</td> 84 </tr> 85 <tr> 86 <td width="100"> </td> 87 <th> 88 <span class="argument">playerId</span> 89 </th> 90 <td>Represents the player ID used when playing sounds.</td> 91 </tr> 92 <tr> 93 <td width="100"> </td> 94 <th> 95 <span class="argument">actorPlayerId</span> 96 </th> 97 <td>Actor player number used when playing sounds with an actor.</td> 98 </tr> 99 <tr> 100 <td width="100"> </td> 101 <th> 102 <span class="argument">playerPriority</span> 103 </th> 104 <td>Represents the player priority value when playing sounds.</td> 105 </tr> 106 <tr> 107 <td width="100"> </td> 108 <th> 109 <span class="argument">volume</span> 110 </th> 111 <td>Volume when playing a sound.</td> 112 </tr> 113 <tr> 114 <td width="100"> </td> 115 <th> 116 <span class="argument">panMode</span> 117 </th> 118 <td>Pan mode type.</td> 119 </tr> 120 <tr> 121 <td width="100"> </td> 122 <th> 123 <span class="argument">panCurve</span> 124 </th> 125 <td>Pan curve type.</td> 126 </tr> 127 <tr> 128 <td width="100"> </td> 129 <th> 130 <span class="argument">isFrontBypass</span> 131 </th> 132 <td>Flag indicating whether to bypass the front channel.</td> 133 </tr> </table> 134 </div> 135 </a> 136 <h2>See Also</h2> 137 <div class="section"> 138 <p class="reference"><a href="../../../../nw/snd/SoundArchive/ReadSoundInfo.html">ReadSoundInfo</a><br /><a href="../../../../nw/snd/SoundArchive/FileId.html">FileId</a><br /><a href="../../../../nw/snd/SoundArchive/ItemId.html">ItemId</a><br /><a href="../../../../nw/snd/PanMode.html">PanMode</a><br /><a href="../../../../nw/snd/PanCurve.html">PanCurve</a><br />nn::snd::Voice::SetFrontBypassFlag<br /> </p> 139 </div> 140 <h2>Revision History</h2> 141 <div class="section"> 142 <dl class="history"> 143 <dt>2010/07/14</dt> 144 <dd>Added isFrontBypass.<br /> 145 </dd> 146 <dt>2010/01/15</dt> 147 <dd>Initial version.<br /> 148 </dd> 149 </dl> 150 </div> 151 <hr><p>CONFIDENTIAL</p></body> 152</html>