54 WUT_CHECK_OFFSET(
MICStatus, 0x04, availableData);
55 WUT_CHECK_OFFSET(
MICStatus, 0x08, bufferPos);
size_t sampleMaxCount
Maximum amount of samples at a time must be at least 0x2800.
void * sampleBuffer
A 0x40 aligned buffer of size sampleMaxCount * 2.
MICError MICClose(MICHandle handle)
MICError MICSetState(MICHandle handle, int state, uint32_t stateVal)
MICError MICOpen(MICHandle handle)
MICHandle MICInit(MICInstance instance, int unused, MICWorkMemory *workMemory, MICError *outError)
The second parameter to MICInit is unused, any value is valid.
MICError MICSetDataConsumed(MICHandle handle, int dataAmountConsumed)
MICError MICUninit(MICHandle handle)
MICError MICGetState(MICHandle handle, int state, uint32_t *outStateVal)
MICError MICGetStatus(MICHandle handle, MICStatus *outStatus)
@ MIC_ERROR_ALREADY_CLOSED
@ MIC_ERROR_INVALID_INSTANCE
@ MIC_ERROR_INVALID_HANDLE