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>GetDroppedSoundFrameCount</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>::GetDroppedSoundFrameCount</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14<a href="../../../nn_types/s32.html">s32</a> GetDroppedSoundFrameCount();
15</pre>
16    </div>
17<h2>Arguments</h2>
18    <div class="section">
19<p>None.</p>
20    </div>
21<h2>Return Values</h2>
22<div class="section">Returns the number of dropped sound frames. </div>
23<h2>Description</h2>
24    <div class="section">
25<p>Gets the number of dropped sound frames.</p><p>
26When processing within a sound thread does not occur quickly (when the processing within a sound thread does not complete within an approximately 5 millisecond cycle), there is the possibility of sound skipping as a result of processing drops. This function can be used to confirm the total number of frames where processing drops occurred.
27      </p><p>
28The processing drop counter is initialized for the sound thread when the <CODE><a href="../../../nn/snd/CTR/SendParameterToDsp.html">nn::snd::CTR::SendParameterToDsp</a></CODE> function is first called. The counter value returns the total number of processing dropped frames. The counter value can also be initialized by the <CODE><a href="../../../nn/snd/CTR/ClearDroppedSoundFrameCount.html">nn::snd::CTR::ClearDroppedSoundFrameCount</a></CODE> function.
29      </p><p>
30The processing drop counter is incremented under the following conditions.
31</p><p><ul><li>The sound thread does not exist</li><li>Processing within the sound thread is not occurring fast enough and synchronous processing cannot keep pace.</li><li>The DSP processing load exceeded 100 percent, and processing cannot keep pace.</li></ul></p><p>
32The counter is 16 bit, so unless you regularly initialize it, you will not get an accurate value from it.
33      </p></div>
34<h2>Revision History</h2>
35    <div class="section">
36      <dl class="history">
37        <dt>2010/10/21</dt>
38<dd>Initial version.<br />
39        </dd>
40      </dl>
41    </div>
42  <hr><p>CONFIDENTIAL</p></body>
43</html>
44