wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Functions
mic.h File Reference
#include "wut.h"
Include dependency graph for mic.h:

Go to the source code of this file.

Data Structures

struct  MICWorkMemory
 
struct  MICStatus
 

Typedefs

typedef int MICHandle
 
typedef struct MICWorkMemory MICWorkMemory
 
typedef struct MICStatus MICStatus
 
typedef enum MICError MICError
 
typedef enum MICInstance MICInstance
 

Enumerations

enum  MICError {
  MIC_ERROR_OK = 0 ,
  MIC_ERROR_NOT_OPENED = -1 ,
  MIC_ERROR_INVALID_HANDLE = -2 ,
  MIC_ERROR_INIT = -5 ,
  MIC_ERROR_ALREADY_CLOSED = -7 ,
  MIC_ERROR_INVALID_INSTANCE = -8
}
 
enum  MICInstance {
  MIC_INSTANCE_0 = 0 ,
  MIC_INSTANCE_1 = 1
}
 

Functions

MICHandle MICInit (MICInstance instance, int unused, MICWorkMemory *workMemory, MICError *outError)
 The second parameter to MICInit is unused, any value is valid. More...
 
MICError MICOpen (MICHandle handle)
 
MICError MICGetState (MICHandle handle, int state, uint32_t *outStateVal)
 
MICError MICSetState (MICHandle handle, int state, uint32_t stateVal)
 
MICError MICGetStatus (MICHandle handle, MICStatus *outStatus)
 
MICError MICSetDataConsumed (MICHandle handle, int dataAmountConsumed)
 
MICError MICClose (MICHandle handle)
 
MICError MICUninit (MICHandle handle)