#include <revolution/pmic.h> // Echo Canceller Reset State #define PMIC_EC_RESET_ON 0x0001 #define PMIC_EC_RESET_OFF 0x0000 PMIC_ERR PMICGetEcReset(u16* state);
state |
Location to store the echo canceler's reset state (ON/OFF), which is received from the Wii Speak. |
|---|
Returns one of the following.
PMIC_ERR_OK |
The reset state was obtained successfully. |
|---|---|
PMIC_ERR_INVALID_ARGUMENTS |
The correct argument was not passed. |
PMIC_ERR_NO_DEVICE |
The Wii Speak has been unplugged. |
PMIC_ERR_INVALID_STATE |
The Wii Speak is not open. |
PMIC_ERR_BUSY |
Cannot register the command. Call the function again. |
PMIC_ERR_USB_ERROR |
An error occurred in USB communications. Call the function again. |
PMIC_ERR_FATAL |
A fatal error has occurred. |
Synchronously gets the reset state (ON/OFF) for the Wii Speak's echo canceler.
This function stores the reset state at the address specified by the state argument. A value of PMIC_EC_RESET_ON is stored if resets are enabled, and PMIC_EC_RESET_OFF is stored if resets are disabled. The Wii Speak's echo canceler runs normally when the state is PMIC_EC_RESET_OFF.
2008/12/22 Standardized terminology.
2008/10/24 Revised Description.
2008/10/23 Revised return values.
2008/10/22 Initial version.
CONFIDENTIAL