PMICGetWritableSamples

Syntax

#include <revolution/pmic.h>

s32 PMICGetWritableSamples(void);

Arguments

None.

Return Values

Returns the number of samples of reference data that can be sent to the Wii Speak.
This function returns -1 if the PMIC library is not initialized.

Description

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 reference data.

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.

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

Revision History

2009/06/11 Revised Description.
2008/12/22 Standardized terminology.
2008/09/26 Revised Description.
2008/03/04 Changed the function reference format.
2008/01/25 Initial version.


CONFIDENTIAL