PMICIsReadOverwritten

Syntax

#include <revolution/pmic.h>

BOOL PMICIsReadOverwritten(void);

Arguments

None.

Return Values

This function returns TRUE if data was overwritten since the last time this function was called. Otherwise, it returns FALSE.

Description

The PMIC library maintains an internal buffer for audio data obtained from the Wii Speak.

This function is used to check whether an overwrite has occurred in the buffer for internal audio data.

The size of the buffer for audio data differs according to the method for initializing the library. If the library was initialized using the PMICInit 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 PMICInitEx function, the buffer size is specified by an argument.

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).

See Also

PMICInit
PMICInitEx

Revision History

2008/10/21 Revised Description.
2008/09/26 Revised Description.
2008/07/30 Initial version.


CONFIDENTIAL