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<title>Initialize</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/snd/Overview.html">snd</a>::<a href="../../../nn/snd/CTR/Overview.html">CTR</a>::Initialize</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14<a href="../../../nn/Result/Overview.html">nn::Result</a> Initialize();
15</pre>
16    </div>
17<h2>Parameters</h2>
18    <div class="section">
19<p>None.</p>
20    </div>
21<h2>Return Values</h2>
22<div class="section">Returns the function's execution result. Returns one of the <a href="../../../nn/Result/Overview.html"><CODE>Result</CODE></a> values listed below. <br />
23      <table class="arguments">
24        <thead>
25          <tr>
26<th>Value</th>
27<td>Description</td>
28          </tr>
29        </thead>
30        <tr>
31<th><CODE>Result::IsSuccess</CODE></th>
32<td>Process was successful.</td>
33        </tr>
34        <tr>
35<th><CODE>ResultAlreadyInitialized</CODE></th>
36<td>Already initialized.</td>
37        </tr>
38        <tr>
39<th><CODE>ResultNoDspComponentLoaded</CODE></th>
40<td><CODE>dspcomponent</CODE> is not loaded.</td>
41        </tr>
42      </table> </div>
43<h2>Description</h2>
44    <div class="section">
45<p>Initializes the sound library.</p><p>
46Before calling this function you must call both <CODE><a href="../../../nn/dsp/CTR/Initialize.html">nn::dsp::CTR::Initialize</a></CODE> and <CODE><a href="../../../nn/dsp/CTR/LoadDefaultComponent.html">nn::dsp::CTR::LoadDefaultComponent</a></CODE>.
47      </p><p>
48In addition, you need to call this function before calling any of the functions in the <CODE><a href="../../../nn/snd/CTR/Overview.html">nn::snd::CTR</a></CODE> namespace.
49      </p></div>
50<h2>Revision History</h2>
51    <div class="section">
52      <dl class="history">
53        <dt>2011/12/12</dt>
54<dd>Added a precaution regarding the timing of calls.<br />
55        </dd>
56        <dt>2010/01/29</dt>
57<dd>Initial version.<br />
58        </dd>
59      </dl>
60    </div>
61  <hr><p>CONFIDENTIAL</p></body>
62</html>
63