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>PMICGetReadableSamples</title> 9</head> 10 11<body> 12 13<h1>PMICGetReadableSamples</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/pmic.h> 18 19s32 PMICGetReadableSamples(void); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<p>None.</p> 24 25<h2>Return Values</h2> 26<p>Gets the number of samples of audio data that can be obtained from the Wii Speak. <br>This function returns -1 if the PMIC library is not initialized.</p> 27 28<H2>Description</H2> 29<p>Returns the number of samples of audio data that the program can get from the Wii Speak at the time of the function call.</p> 30 31<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> 32 33<H2>See Also</H2> 34<p class="reference"> 35</p> 36 37<H2>Revision History</H2> 38<p> 392008/09/26 Added <B>Description</B>.<br>2008/03/04 Changed the function reference format.<br>2008/01/25 Initial version. 40</p> 41<hr><p>CONFIDENTIAL</p></body> 42</html>