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