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>nn::snd::CTR</title>
49  </head>
50  <body>
51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/snd/Overview.html">snd</a>::CTR</CODE> Namespace</h1>
52<h2>Description</h2>
53    <div class="section">
54<p>Sound (SND) namespace. (This can also be written with &quot;<CODE>CTR</CODE>&quot; omitted.)</p><p>
55Sound processing is carried out while synchronizing with the DSP by sound threads that include the <a href="../../../nn/snd/CTR/WaitForDspSync.html"><CODE>nn::snd::CTR::WaitForDspSync</CODE></a> and <a href="../../../nn/snd/CTR/SendParameterToDsp.html"><CODE>nn::snd::CTR::SendParameterToDsp</CODE></a> functions. Sound operations and parameter settings are configured after using the <a href="../../../nn/snd/CTR/WaitForDspSync.html"><CODE>nn::snd::CTR::WaitForDspSync</CODE></a> function to wait for an interrupt from the DSP that occurs approximately every 4.889 milliseconds, and then applying those operations and parameter settings to the DSP using the <a href="../../../nn/snd/CTR/SendParameterToDsp.html"><CODE>nn::snd::CTR::SendParameterToDsp</CODE></a> function. The <a href="../../../nn/snd/CTR/WaitForDspSync.html"><CODE>nn::snd::CTR::WaitForDspSync</CODE></a> and <a href="../../../nn/snd/CTR/SendParameterToDsp.html"><CODE>nn::snd::CTR::SendParameterToDsp</CODE></a> functions must be called alternately.
56      </p><p>
57The snd library uses an <a href="../../../nn/os/Event/Overview.html">nn::os::Event</a> object held internally to perform the above synchronization.
58</p><p>The <a href="../../../nn/dsp/CTR/Initialize.html"><CODE>nn::dsp::CTR::Initialize</CODE></a> function and functions for loading DSP components (such as the <a href="../../../nn/dsp/CTR/LoadDefaultComponent.html"><CODE>nn::dsp::CTR::LoadDefaultComponent</CODE></a> function), must be called before the <a href="../../../nn/snd/CTR/Initialize.html"><CODE>nn::snd::CTR::Initialize</CODE></a> function.
59      </p><p>
60Since there is no method of recovery if an API that returns Result returns an error, treat such an error as a fatal error.
61      </p></div>
62    <a name="class" id="class">
63<h2>Classes</h2>
64      <div class="section">
65        <table class="members">
66          <tr>
67<th class="category" colspan="2"><CODE>Result</CODE></th>
68          </tr>
69          <tr>
70            <th>
71<a href="../../../nn/snd/CTR/ResultAlreadyInitialized/Overview.html"><CODE>nn::snd::CTR::ResultAlreadyInitialized</CODE></a>
72            </th>
73<td>Indicates that initialization has already finished.</td>
74          </tr>
75          <tr>
76            <th>
77<a href="../../../nn/snd/CTR/ResultNoDspComponentLoaded/Overview.html"><CODE>nn::snd::CTR::ResultNoDspComponentLoaded</CODE></a>
78            </th>
79<td>Indicates that <CODE>dspcomponent</CODE> has not been loaded.</td>
80          </tr>
81          <tr>
82            <th>
83<a href="../../../nn/snd/CTR/ResultInvalidUsage/Overview.html"><CODE>nn::snd::CTR::ResultInvalidUsage</CODE></a>
84            </th>
85<td>Indicates a usage error, such as the order of arguments and function calls.</td>
86          </tr>
87          <tr>
88<th class="category" colspan="2">Other</th>
89          </tr>
90          <tr>
91            <th>
92<a href="../../../nn/snd/CTR/Bcwav/Overview.html"><CODE>nn::snd::CTR::Bcwav</CODE></a>
93            </th>
94<td>Definition of a class that handles BCWAV files.</td>
95          </tr>
96          <tr>
97            <th>
98<a href="../../../nn/snd/CTR/DspFxDelay/Overview.html"><CODE>nn::snd::CTR::DspFxDelay</CODE></a>
99            </th>
100<td>A class used to control DSP delay effects.</td>
101          </tr>
102          <tr>
103            <th>
104<a href="../../../nn/snd/CTR/DspFxReverb/Overview.html"><CODE>nn::snd::CTR::DspFxReverb</CODE></a>
105            </th>
106<td>A class used to control DSP reverb effects.</td>
107          </tr>
108          <tr>
109            <th>
110<a href="../../../nn/snd/CTR/FxDelay/Overview.html"><CODE>nn::snd::CTR::FxDelay</CODE></a>
111            </th>
112<td>The delay effect class.</td>
113          </tr>
114          <tr>
115            <th>
116<a href="../../../nn/snd/CTR/FxReverb/Overview.html"><CODE>nn::snd::CTR::FxReverb</CODE></a>
117            </th>
118<td>The reverb effect class.</td>
119          </tr>
120          <tr>
121            <th>
122<a href="../../../nn/snd/CTR/OutputCapture/Overview.html"><CODE>nn::snd::CTR::OutputCapture</CODE></a>
123            </th>
124<td>The class for getting the DSP's final output.</td>
125          </tr>
126          <tr>
127            <th>
128<a href="../../../nn/snd/CTR/Voice/Overview.html"><CODE>nn::snd::CTR::Voice</CODE></a>
129            </th>
130<td>A class used to control <a href="../../../nn/snd/CTR/Voice/Overview.html"><CODE>Voice</CODE></a> objects.</td>
131          </tr> </table>
132      </div>
133    </a> <a name="struct" id="struct">
134<h2>Structures</h2>
135      <div class="section">
136        <table class="members">
137          <tr>
138            <th>
139<a href="../../../nn/snd/CTR/AdpcmParam/Overview.html"><CODE>nn::snd::CTR::AdpcmParam</CODE></a>
140            </th>
141<td>A structure that stores ADPCM coefficients.</td>
142          </tr>
143          <tr>
144            <th>
145<a href="../../../nn/snd/CTR/AdpcmContext/Overview.html"><CODE>nn::snd::CTR::AdpcmContext</CODE></a>
146            </th>
147<td>A structure that stores an ADPCM context.</td>
148          </tr>
149          <tr>
150            <th>
151<a href="../../../nn/snd/CTR/MonoFilterCoefficients/Overview.html"><CODE>nn::snd::CTR::MonoFilterCoefficients</CODE></a>
152            </th>
153<td>Structure that stores monopole filter coefficients.</td>
154          </tr>
155          <tr>
156            <th>
157<a href="../../../nn/snd/CTR/BiquadFilterCoefficients/Overview.html"><CODE>nn::snd::CTR::BiquadFilterCoefficients</CODE></a>
158            </th>
159<td>Structure that stores biquad filter coefficients.</td>
160          </tr>
161          <tr>
162            <th>
163<a href="../../../nn/snd/CTR/MixParam/Overview.html"><CODE>nn::snd::CTR::MixParam</CODE></a>
164            </th>
165<td>A structure that stores the gain for each channel.</td>
166          </tr>
167          <tr>
168            <th>
169<a href="../../../nn/snd/CTR/WaveBuffer/Overview.html"><CODE>nn::snd::CTR::WaveBuffer</CODE></a>
170            </th>
171<td>Structure that stores information about a buffer storing sample data.</td>
172          </tr>
173          <tr>
174            <th>
175<a href="../../../nn/snd/CTR/AuxBusData/Overview.html"><CODE>nn::snd::CTR::AuxBusData</CODE></a>
176            </th>
177<td>Structure for functions containing the code that processes <CODE>Aux</CODE> bus data in each sound frame.</td>
178          </tr> </table>
179      </div>
180    </a> <a name="enum" id="enum">
181<h2>Enumerated Types</h2>
182      <div class="section">
183        <table class="members">
184          <tr>
185<th class="category" colspan="3">Voice Controls</th>
186          </tr>
187          <tr>
188            <td width="100"> </td>
189            <th>
190<a href="../../../nn/snd/CTR/VoiceDropMode.html">VoiceDropMode</a>
191            </th>
192<td>Mode related to voice drop handling.</td>
193          </tr>
194          <tr>
195<th class="category" colspan="3">Other</th>
196          </tr>
197          <tr>
198            <td width="100"> </td>
199            <th>
200<a href="../../../nn/snd/CTR/ChannelIndex.html"><CODE>ChannelIndex</CODE></a>
201            </th>
202<td>Enumerated type representing channel positions.</td>
203          </tr>
204          <tr>
205            <td width="100"> </td>
206            <th>
207<a href="../../../nn/snd/CTR/OutputMode.html"><CODE>OutputMode</CODE></a>
208            </th>
209<td>Enumerated type representing a mixer's output mode.</td>
210          </tr>
211          <tr>
212            <td width="100"> </td>
213            <th>
214<a href="../../../nn/snd/CTR/ClippingMode.html"><CODE>ClippingMode</CODE></a>
215            </th>
216<td>Enumerated type representing the clipping mode.</td>
217          </tr>
218          <tr>
219            <td width="100"> </td>
220            <th>
221<a href="../../../nn/snd/CTR/SurroundSpeakerPosition.html"><CODE>SurroundSpeakerPosition</CODE></a>
222            </th>
223<td>Enumerated type indicating the virtual speaker position for 3D surround sound.</td>
224          </tr>
225          <tr>
226            <td width="100"> </td>
227            <th>
228<a href="../../../nn/snd/CTR/InterpolationType.html"><CODE>InterpolationType</CODE></a>
229            </th>
230<td>An enumerated type representing the interpolation method.</td>
231          </tr>
232          <tr>
233            <td width="100"> </td>
234            <th>
235<a href="../../../nn/snd/CTR/FilterType.html"><CODE>FilterType</CODE></a>
236            </th>
237<td>Enumerated type representing the filter type.</td>
238          </tr>
239          <tr>
240            <td width="100"> </td>
241            <th>
242<a href="../../../nn/snd/CTR/AuxBusId.html"><CODE>AuxBusId</CODE></a>
243            </th>
244<td>Enumerated type representing the <CODE>Aux</CODE> bus ID.</td>
245          </tr>
246          <tr>
247            <td width="100"> </td>
248            <th>
249<a href="../../../nn/snd/CTR/SampleFormat.html"><CODE>SampleFormat</CODE></a>
250            </th>
251<td>Enumerated type representing sample formats.</td>
252          </tr> </table>
253      </div>
254    </a> <a name="typedef" id="typedef">
255<h2><CODE>typedef</CODE> Definitions</h2>
256      <div class="section">
257        <table class="members">
258          <tr>
259            <td width="100" />
260            <th>
261<a href="../../../nn/snd/CTR/AuxCallback.html"><CODE>AuxCallback</CODE></a>
262            </th>
263<td>Typedef for the <CODE>Aux</CODE> callback function pointer.</td>
264          </tr>
265          <tr>
266            <td width="100" />
267            <th>
268<a href="../../../nn/snd/CTR/VoiceDropCallbackFunc.html"><CODE>VoiceDropCallbackFunc</CODE></a>
269            </th>
270<td>Typedef for the callback function to invoke when the library frees a voice.</td>
271          </tr> </table>
272      </div>
273    </a> <a name="constant" id="constant">
274<h2>Constants</h2>
275      <div class="section">
276        <table class="members">
277          <tr>
278            <td width="100">
279<span class="static_style" title="static">S</span>
280            </td>
281            <th>
282<span class="argument"><a href="../../../nn/snd/CTR/VOICE_PRIORITY_NODROP.html"><CODE>VOICE_PRIORITY_NODROP</CODE></a></span>
283            </th>
284<td width="100">const <a href="../../../nn_types/s32.html">s32</a></td>
285<td>This is the highest possible priority and is also given special treatment.</td>
286          </tr>
287          <tr>
288            <td width="100">
289<span class="static_style" title="static">S</span>
290            </td>
291            <th>
292<span class="argument"><a href="../../../nn/snd/CTR/NN_SND_DSP_MAXIMUM_CYCLES.html"><CODE>NN_SND_DSP_MAXIMUM_CYCLES</CODE></a></span>
293            </th>
294<td width="100">const <a href="../../../nn_types/s32.html">s32</a></td>
295<td>Maximum number of DSP cycles per sound frame.</td>
296          </tr> </table>
297      </div>
298    </a> <a name="function" id="function">
299<h2>Functions</h2>
300      <div class="section">
301        <table class="members">
302          <tr>
303<th class="category" colspan="3">Voice Controls</th>
304          </tr>
305          <tr>
306            <td width="100">  </td>
307            <th>
308<a href="../../../nn/snd/CTR/AllocVoice.html"><CODE>AllocVoice</CODE></a>
309            </th>
310<td>Gets a voice.</td>
311          </tr>
312          <tr>
313            <td width="100">  </td>
314            <th>
315<a href="../../../nn/snd/CTR/FreeVoice.html"><CODE>FreeVoice</CODE></a>
316            </th>
317<td>Frees a voice.</td>
318          </tr>
319          <tr>
320            <td width="100">  </td>
321            <th>
322<a href="../../../nn/snd/CTR/SetVoiceDropMode.html">SetVoiceDropMode</a>
323            </th>
324<td>Sets the mode to use for voice drop handling.</td>
325          </tr>
326          <tr>
327<th class="category" colspan="3">Initialize/Finalize</th>
328          </tr>
329          <tr>
330            <td width="100">  </td>
331            <th>
332<a href="../../../nn/snd/CTR/Initialize.html"><CODE>Initialize</CODE></a>
333            </th>
334<td>Initializes the sound library.</td>
335          </tr>
336          <tr>
337            <td width="100">  </td>
338            <th>
339<a href="../../../nn/snd/CTR/Finalize.html"><CODE>Finalize</CODE></a>
340            </th>
341<td>Finalizes the sound library.</td>
342          </tr>
343          <tr>
344            <td width="100">  </td>
345            <th>
346<a href="../../../nn/snd/CTR/InitializeWaveBuffer.html"><CODE>InitializeWaveBuffer</CODE></a>
347            </th>
348<td>Initializes a buffer information structure.</td>
349          </tr>
350          <tr>
351<th class="category" colspan="3">Cache Operations</th>
352          </tr>
353          <tr>
354            <td width="100">  </td>
355            <th>
356<a href="../../../nn/snd/CTR/FlushDataCache.html"><CODE>FlushDataCache</CODE></a>
357            </th>
358<td>Writes data for the specified cache range back into memory and invalidates the cache.</td>
359          </tr>
360          <tr>
361<th class="category" colspan="3">Synchronous Processing</th>
362          </tr>
363          <tr>
364            <td width="100">  </td>
365            <th>
366<a href="../../../nn/snd/CTR/WaitForDspSync.html"><CODE>WaitForDspSync</CODE></a>
367            </th>
368<td>Receives the result of DSP processing.</td>
369          </tr>
370          <tr>
371            <td width="100">  </td>
372            <th>
373<a href="../../../nn/snd/CTR/SendParameterToDsp.html"><CODE>SendParameterToDsp</CODE></a>
374            </th>
375<td>Applies the configured parameters to the DSP.</td>
376          </tr>
377          <tr>
378<th class="category" colspan="3">Master Controls, Auxiliary Bus Controls</th>
379          </tr>
380          <tr>
381            <td width="100">  </td>
382            <th>
383<a href="../../../nn/snd/CTR/SetMasterVolume.html"><CODE>SetMasterVolume</CODE></a>
384            </th>
385<td>This function sets the master volume.</td>
386          </tr>
387          <tr>
388            <td width="100">  </td>
389            <th>
390<a href="../../../nn/snd/CTR/GetMasterVolume.html"><CODE>GetMasterVolume</CODE></a>
391            </th>
392<td>Gets the master volume.</td>
393          </tr>
394          <tr>
395            <td width="100">  </td>
396            <th>
397<a href="../../../nn/snd/CTR/SetAuxReturnVolume.html"><CODE>SetAuxReturnVolume</CODE></a>
398            </th>
399<td>Sets the <CODE>Aux</CODE> bus volume.</td>
400          </tr>
401          <tr>
402            <td width="100">  </td>
403            <th>
404<a href="../../../nn/snd/CTR/GetAuxReturnVolume.html"><CODE>SetAuxReturnVolume</CODE></a>
405            </th>
406<td>Gets the <CODE>Aux</CODE> bus volume.</td>
407          </tr>
408          <tr>
409            <td width="100">  </td>
410            <th>
411<a href="../../../nn/snd/CTR/RegisterAuxCallback.html"><CODE>RegisterAuxCallback</CODE></a>
412            </th>
413<td>Sets the <CODE>Aux</CODE> bus callback function.</td>
414          </tr>
415          <tr>
416            <td width="100">  </td>
417            <th>
418<a href="../../../nn/snd/CTR/GetAuxCallback.html"><CODE>GetAuxCallback</CODE></a>
419            </th>
420<td>Gets the <CODE>Aux</CODE> bus callback function.</td>
421          </tr>
422          <tr>
423            <td width="100">  </td>
424            <th>
425<a href="../../../nn/snd/CTR/ClearAuxCallback.html"><CODE>ClearAuxCallback</CODE></a>
426            </th>
427<td>Clears the <CODE>Aux</CODE> bus callback function.</td>
428          </tr>
429          <tr>
430            <td width="100">  </td>
431            <th>
432<a href="../../../nn/snd/CTR/SetAuxFrontBypass.html"><CODE>SetAuxFrontBypass</CODE></a>
433            </th>
434<td>Configures whether to bypass the front channels of an Aux bus.</td>
435          </tr>
436          <tr>
437<th class="category" colspan="3">3D Surround Sound</th>
438          </tr>
439          <tr>
440            <td width="100">  </td>
441            <th>
442<a href="../../../nn/snd/CTR/SetSoundOutputMode.html"><CODE>SetSoundOutputMode</CODE></a>
443            </th>
444<td>Sets the sound output mode.</td>
445          </tr>
446          <tr>
447            <td width="100">  </td>
448            <th>
449<a href="../../../nn/snd/CTR/GetSoundOutputMode.html"><CODE>GetSoundOutputMode</CODE></a>
450            </th>
451<td>Gets the sound output mode.</td>
452          </tr>
453          <tr>
454            <td width="100">  </td>
455            <th>
456<a href="../../../nn/snd/CTR/SetClippingMode.html"><CODE>SetClippingMode</CODE></a>
457            </th>
458<td>Sets the clipping mode.</td>
459          </tr>
460          <tr>
461            <td width="100">  </td>
462            <th>
463<a href="../../../nn/snd/CTR/GetClippingMode.html"><CODE>GetClippingMode</CODE></a>
464            </th>
465<td>Gets the clipping mode.</td>
466          </tr>
467          <tr>
468            <td width="100">  </td>
469            <th>
470<a href="../../../nn/snd/CTR/SetSurroundDepth.html"><CODE>SetSurroundDepth</CODE></a>
471            </th>
472<td>Sets the surround sound depth.</td>
473          </tr>
474          <tr>
475            <td width="100">  </td>
476            <th>
477<a href="../../../nn/snd/CTR/SetSurroundSpeakerPosition.html"><CODE>SetSurroundSpeakerPosition</CODE></a>
478            </th>
479<td>Sets the virtual speaker position for 3D surround sound.</td>
480          </tr>
481          <tr>
482<th class="category" colspan="3">Get the DSP final output</th>
483          </tr>
484          <tr>
485            <td width="100">  </td>
486            <th>
487<a href="../../../nn/snd/CTR/GetMixedBusData.html"><CODE>GetMixedBusData</CODE></a>
488            </th>
489<td>Copies the <CODE>Mix</CODE> bus data to the specified buffer.</td>
490          </tr>
491          <tr>
492            <td width="100">  </td>
493            <th>
494<a href="../../../nn/snd/CTR/SetOutputCapture.html"><CODE>SetOutputCapture</CODE></a>
495            </th>
496<td>Configures the capture for getting the DSP final output.</td>
497          </tr>
498          <tr>
499<th class="category" colspan="3">Dropped Processing Detection</th>
500          </tr>
501          <tr>
502            <td width="100">  </td>
503            <th>
504<a href="../../../nn/snd/CTR/GetDroppedSoundFrameCount.html"><CODE>GetDroppedSoundFrameCount</CODE></a>
505            </th>
506<td>Gets the number of dropped sound frames.</td>
507          </tr>
508          <tr>
509            <td width="100">  </td>
510            <th>
511<a href="../../../nn/snd/CTR/ClearDroppedSoundFrameCount.html"><CODE>ClearDroppedSoundFrameCount</CODE></a>
512            </th>
513<td>Clears the dropped sound frames counter.</td>
514          </tr>
515          <tr>
516<th class="category" colspan="3">DSP-ADPCM-Related</th>
517          </tr>
518          <tr>
519            <td width="100">  </td>
520            <th>
521<a href="../../../nn/snd/CTR/EncodeAdpcmData.html"><CODE>EncodeAdpcmData</CODE></a>
522            </th>
523<td>Encodes 16-bit PCM data into DSP-ADPCM format.</td>
524          </tr>
525          <tr>
526            <td width="100">  </td>
527            <th>
528<a href="../../../nn/snd/CTR/DecodeAdpcmData.html"><CODE>DecodeAdpcmData</CODE></a>
529            </th>
530<td>Decodes DSP-ADPCM data.</td>
531          </tr>
532          <tr>
533            <td width="100">  </td>
534            <th>
535<a href="../../../nn/snd/CTR/GetAdpcmOutputBufferSize.html"><CODE>GetAdpcmOutputBufferSize</CODE></a>
536            </th>
537<td>Returns the size of the output buffer that is required during encoding.</td>
538          </tr>
539          <tr>
540            <td width="100">  </td>
541            <th>
542<a href="../../../nn/snd/CTR/ConvertAdpcmPos2Nib.html"><CODE>ConvertAdpcmPos2Nib</CODE></a>
543            </th>
544<td>Converts the sample position to a number of nibbles.</td>
545          </tr>
546          <tr>
547            <td width="100">  </td>
548            <th>
549<a href="../../../nn/snd/CTR/ConvertAdpcmNib2Pos.html"><CODE>ConvertAdpcmNib2Pos</CODE></a>
550            </th>
551<td>Converts the number of nibbles to a sample position.</td>
552          </tr>
553          <tr>
554<th class="category" colspan="3">Effect</th>
555          </tr>
556          <tr>
557            <td width="100">  </td>
558            <th>
559<a href="../../../nn/snd/CTR/SetEffect.html"><CODE>SetEffect</CODE></a>
560            </th>
561<td>Configures the effect.</td>
562          </tr>
563          <tr>
564            <td width="100">  </td>
565            <th>
566<a href="../../../nn/snd/CTR/ClearEffect.html"><CODE>ClearEffect</CODE></a>
567            </th>
568<td>Clears an effect setting.</td>
569          </tr>
570          <tr>
571<th class="category" colspan="3">Other</th>
572          </tr>
573          <tr>
574            <td width="100">  </td>
575            <th>
576<a href="../../../nn/snd/CTR/GetSampleLength.html"><CODE>GetSampleLength</CODE></a>
577            </th>
578<td>Gets the sample length.</td>
579          </tr>
580          <tr>
581            <td width="100">  </td>
582            <th>
583<a href="../../../nn/snd/CTR/SetMaximumDspCycles.html"><CODE>SetMaximumDspCycles</CODE></a>
584            </th>
585<td>Sets the number of DSP cycles that sound can use.</td>
586          </tr>
587          <tr>
588            <td width="100">  </td>
589            <th>
590<a href="../../../nn/snd/CTR/GetMaximumDspCycles.html"><CODE>GetMaximumDspCycles</CODE></a>
591            </th>
592<td>Gets the number of DSP cycles allocated to sound.</td>
593          </tr>
594          <tr>
595            <td width="100">  </td>
596            <th>
597<a href="../../../nn/snd/CTR/GetDspCycles.html"><CODE>GetDspCycles</CODE></a>
598            </th>
599<td>Gets the number of cycles consumed by the DSP to create the last audio frame.</td>
600          </tr>
601          <tr>
602            <td width="100">  </td>
603            <th>
604<a href="../../../nn/snd/CTR/GetHeadphoneStatus.html"><CODE>GetHeadphoneStatus</CODE></a>
605            </th>
606<td>Gets whether headphones are plugged in.</td>
607          </tr>
608          <tr>
609            <td width="100">  </td>
610            <th>
611<a href="../../../nn/snd/CTR/UpdateHeadphoneStatus.html"><CODE>UpdateHeadphoneStatus</CODE></a>
612            </th>
613<td>Updates and gets the headphone connection state.</td>
614          </tr>
615          <tr>
616            <td width="100">  </td>
617            <th>
618<a href="../../../nn/snd/CTR/SetOutputBufferCount.html"><CODE>SetOutputBufferCount</CODE></a>
619            </th>
620<td>Sets the number of buffers for the DSP final output level.</td>
621          </tr>
622          <tr>
623            <td width="100">  </td>
624            <th>
625<a href="../../../nn/snd/CTR/GetOutputBufferCount.html"><CODE>GetOutputBufferCount</CODE></a>
626            </th>
627<td>Gets the number of buffers for the DSP final output level.</td>
628          </tr> </table>
629      </div>
630    </a>
631<h2>Revision History</h2>
632    <div class="section">
633      <dl class="history">
634        <dt>2011/07/28</dt>
635<dd>Added information about handling Result.<BR>
636        </dd>
637        <dt>2011/02/02</dt>
638<dd>Added a note regarding the synchronization performed by sound threads and a note regarding initialization.<BR>
639        </dd>
640        <dt>2010/02/09</dt>
641<dd>Initial version.<br />
642        </dd>
643      </dl>
644    </div>
645  <hr><p>CONFIDENTIAL</p></body>
646</html>
647