Import SDK Types
This commit is contained in:
parent
84b3e69630
commit
4fe4c38e0d
86 changed files with 6528 additions and 27 deletions
43
include/dolphin/ai.h
Normal file
43
include/dolphin/ai.h
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
#ifndef _DOLPHIN_AI
|
||||
#define _DOLPHIN_AI
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
typedef void (*AISCallback)(u32 count);
|
||||
typedef void (*AIDCallback)();
|
||||
|
||||
AIDCallback AIRegisterDMACallback(AIDCallback callback);
|
||||
void AIInitDMA(u32 start_addr, u32 length);
|
||||
BOOL AIGetDMAEnableFlag();
|
||||
void AIStartDMA();
|
||||
void AIStopDMA();
|
||||
u32 AIGetDMABytesLeft();
|
||||
u32 AIGetDMAStartAddr();
|
||||
u32 AIGetDMALength();
|
||||
u32 AIGetDSPSampleRate();
|
||||
void AISetDSPSampleRate(u32 rate);
|
||||
AISCallback AIRegisterStreamCallback(AISCallback callback);
|
||||
u32 AIGetStreamSampleCount();
|
||||
void AIResetStreamSampleCount();
|
||||
void AISetStreamTrigger(u32 trigger);
|
||||
u32 AIGetStreamTrigger();
|
||||
void AISetStreamPlayState(u32 state);
|
||||
u32 AIGetStreamPlayState();
|
||||
void AISetStreamSampleRate(u32 rate);
|
||||
u32 AIGetStreamSampleRate();
|
||||
void AISetStreamVolLeft(u8 vol);
|
||||
void AISetStreamVolRight(u8 vol);
|
||||
u8 AIGetStreamVolLeft();
|
||||
u8 AIGetStreamVolRight();
|
||||
void AIInit(u8* stack);
|
||||
BOOL AICheckInit();
|
||||
void AIReset();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _DOLPHIN_AI
|
||||
Loading…
Add table
Add a link
Reference in a new issue