1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
2<head>
3<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
4<title>SNDPlayerInfo</title>
5<link rel="stylesheet" href="../css/nitro.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
7</head>
8<body>
9<div class="refentry" lang="ja"><a name="IDAKKWT"></a><div class="titlepage">
10<div></div>
11<div></div>
12</div>
13<h1>SNDPlayerInfo <IMG src="../image/NTR.gif" width="24" height="12" border="0" align=middle><IMG src="../image/TWL.gif" width="24" height="12" border="0" align=middle></h1>
14<h2>Definition</h2>
15<dl>
16<dd><pre class="funcsynopsisinfo"><code>#include &lt;nitro/snd.h&gt;</code></pre></dd>
17<dd><pre class="funcsynopsisinfo"><code>typedef struct SNDPlayerInfo
18{
19    BOOL activeFlag : 1;
20    BOOL pauseFlag : 1;
21
22    u16 trackBitMask;
23    u16 tempo;
24    u8 volume;
25    u8 pad_;
26    u16 pad2_;
27} SNDPlayerInfo;
28</code></pre></dd>
29<dd><pre class="funcprototype"></pre></dd>
30</dl>
31<div class="refsection" lang="ja"><a name="IDAPLWT"></a>
32      <h2>Elements</h2>
33
34      <div class="variablelist">
35<table border="0">
36<col align="left" valign="top">
37<tbody>
38<tr>
39<td><em><strong><code>activeFlag</code></strong></em></td>
40<td>The active flag. Indicates whether the player is currently operating.</td>
41</tr>
42</tbody>
43</table>
44</div>
45
46      <p>The following members are valid only when <em><strong><code>activeFlag</code></strong></em> is <code>TRUE</code>.</p>
47
48      <div class="variablelist">
49<table border="0">
50<col align="left" valign="top">
51<tbody>
52<tr>
53<td><em><strong><code>pauseFlag</code></strong></em></td>
54<td>The pause flag. Indicates whether the player is currently paused.</td>
55</tr>
56<tr>
57<td><em><strong><code>trackBitMask</code></strong></em></td>
58<td>The bit mask of valid tracks. Tracks are represented in order, starting from the lowest bit, as Track 0,  Track 1, ... Track 15.</td>
59</tr>
60<tr>
61<td><em><strong><code>tempo</code></strong></em></td>
62<td>The tempo value.</td>
63</tr>
64<tr>
65<td><em><strong><code>volume</code></strong></em></td>
66<td>The player volume. Takes values in the range of 0 to 127.</td>
67</tr>
68</tbody>
69</table>
70</div>
71    </div>
72<div class="refsection" lang="ja"><a name="IDA5MWT"></a>
73      <h2>Description</h2>
74      <p>
75This is the player information structure. It stores the information for a single player.
76</p>
77      <p>
78The contents of this structure can be obtained with the <tt class="function"><a href="SND_ReadPlayerInfo.html">SND_ReadPlayerInfo</a></tt> function.
79</p>
80
81<div class="note">
82<h3 class="title">Note</h3>
83<p>
84The structure size and the member arrangement may be changed in the future.
85        </p>
86</div>
87
88    </div>
89<h2>See Also</h2>
90<p><a href="SND_ReadPlayerInfo.html">SND_ReadPlayerInfo</a></p>
91<h2>Revision History</h2>
92<p>2005/02/17 Initial version.</p>
93</div>
94<hr><p>CONFIDENTIAL</p></body>
95</html>
96