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>PMICIsReadOverwritten</title> 9</head> 10 11<body> 12 13<h1>PMICIsReadOverwritten</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/pmic.h> 18 19BOOL PMICIsReadOverwritten(void); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<p>None.</p> 24 25<h2>Return Values</h2> 26<p> 27This function returns <code>TRUE</code> if data was overwritten since the last time this function was called. Otherwise, it returns <code>FALSE</code>. 28</p> 29 30<H2>Description</H2> 31<p>The PMIC library maintains an internal buffer for audio data obtained from the Wii Speak.</p> 32 33<p>This function is used to check whether an overwrite has occurred in the buffer for internal audio data.</p> 34 35<p>The size of the buffer for audio data differs according to the method for initializing the library. If the library was initialized using the <code>PMICInit</code> function, the size of the audio data buffer is 48 ms (or approximately 70 ms for a sampling rate of 16 kHz or 11 kHz, or 96 ms for 8 kHz). When the library is initialized using the <code>PMICInitEx</code> function, the buffer size is specified by an argument.</p> 36 37<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> 38 39<H2>See Also</H2> 40<p class="reference"> 41<a href="PMICInit.html"><CODE>PMICInit</CODE></a><BR> <a href="PMICInitEx.html"><CODE>PMICInitEx</CODE></a> 42</p> 43 44<H2>Revision History</H2> 45<p> 462008/10/21 Revised <B>Description</B>.<br> 2008/09/26 Revised <B>Description</B>.<br>2008/07/30 Initial version. 47</p> 48<hr><p>CONFIDENTIAL</p></body> 49</html>