PMICGetReadableSamples

Syntax

#include <revolution/pmic.h>

s32 PMICGetReadableSamples(void);

Arguments

None.

Return Values

Gets the number of samples of audio data that can be obtained from the Wii Speak.
This function returns -1 if the PMIC library is not initialized.

Description

Returns the number of samples of audio data that the program can get from 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

2008/09/26 Added Description.
2008/03/04 Changed the function reference format.
2008/01/25 Initial version.


CONFIDENTIAL