#include <cafe/usb_mic.h> int USBMICSetState(usb_mic_handle_t h_mic, usb_mic_state_t state, unsigned int value);
|h_mic||Instance handle returned via
An enumerated value of type
The state value to set, cast as an
A value of zero indicates success and any other value the type of error that was encountered.
This function is used to set UAC device state, such as current gain.
This function takes several milliseconds to complete, although much of that time is spent waiting on synchronization objects. It is not recommended to call this function from a timing sensitive thread.
|Background||Do not call this function from the background.|
|Interrupt handler||Do not call this function from any interrupt handler.|
|Exception handler||Do not call this function from any exception handler.|
2013-05-08 Automated cleanup pass.
2012-08-03 Cleanup Pass
2012-07-09 Update for SDK2.06
2012-01-05 Initial version.