1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<title>PMICGetWritableSamples</title>
9</head>
10
11<body>
12
13<h1>PMICGetWritableSamples</h1>
14
15<h2>Syntax</h2>
16<dl><dd><pre class="construction">
17#include &lt;revolution/pmic.h&gt;
18
19s32 PMICGetWritableSamples(void);
20</pre></dd></dl>
21
22<h2>Arguments</h2>
23<p>None.</p>
24
25<h2>Return Values</h2>
26<p>Returns the number of samples of reference data that can be sent to the Wii Speak. <br>This function returns -1 if the PMIC library is not initialized.</p>
27
28<H2>Description</H2>
29<p>The program must send the audio data to be output from the speaker, such as a television, to the microphone to properly use Wii Speak functionality (the echo canceler). This data is called <I>reference data</I>.</p>
30
31<p>This function returns the number of samples of reference data that the program can send to the Wii Speak at the time of the function call.</p>
32
33<p>This function can be called regardless of the state of the Wii Speak (such as before it is open or while it is stopped or operating).</p>
34
35<H2>See Also</H2>
36<p class="reference">
37</p>
38
39<H2>Revision History</H2>
40<p>
412009/06/11 Revised <B>Description</B>.<br>2008/12/22 Standardized terminology.<br>2008/09/26 Revised <B>Description</B>.<br>2008/03/04 Changed the function reference format.<br>2008/01/25 Initial version.
42</p>
43
44<hr><p>CONFIDENTIAL</p></body>
45
46</html>
47