Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
ai.c File Reference

Classes

struct  STRUCT_TIMELOG
 

Functions

STRUCT_TIMELOG__ai_src_get_time (void)
 
static void __AIDHandler (__OSInterrupt interrupt, OSContext *context)
 
static void __AICallbackStackSwitch (void *cb)
 
static void __AI_SRC_INIT (void)
 
AIDCallback AIRegisterDMACallback (AIDCallback callback)
 
void AIInitDMA (u32 start_addr, u32 length)
 
BOOL AIGetDMAEnableFlag (void)
 
void AIStartDMA (void)
 
void AIStopDMA (void)
 
u32 AIGetDMABytesLeft (void)
 
u32 AIGetDMAStartAddr (void)
 
u32 AIGetDMALength (void)
 
BOOL AICheckInit (void)
 
void AISetDSPSampleRate (u32 rate)
 
u32 AIGetDSPSampleRate (void)
 
void AIInit (u8 *stack)
 
void AIReset (void)
 
static asm void __AICallbackStackSwitch (__REGISTER void *cb)
 

Variables

const char * __AIVersion = "<< RVL_SDK - AI \tdebug build: "BUILD_DATE" "BUILD_TIME" (0x4302_145) >>"
 
static AIDCallback __AID_Callback
 
static u8__CallbackStack
 
static u8__OldStack
 
static BOOL __AI_init_flag
 
static BOOL __AID_Active
 
static OSTime bound_32KHz
 
static OSTime bound_48KHz
 
static OSTime min_wait
 
static OSTime max_wait
 
static OSTime buffer
 
STRUCT_TIMELOG __AIprofile
 
OSTime __ai_src_time_start
 
OSTime __ai_src_time_end
 

Function Documentation

◆ __ai_src_get_time()

STRUCT_TIMELOG * __ai_src_get_time ( void )

◆ __AI_SRC_INIT()

void __AI_SRC_INIT ( void )
static

◆ __AICallbackStackSwitch() [1/2]

static asm void __AICallbackStackSwitch ( __REGISTER void * cb)
static

◆ __AICallbackStackSwitch() [2/2]

static void __AICallbackStackSwitch ( void * cb)
static

◆ __AIDHandler()

static void __AIDHandler ( __OSInterrupt interrupt,
OSContext * context )
static

◆ AICheckInit()

BOOL AICheckInit ( void )

◆ AIGetDMABytesLeft()

u32 AIGetDMABytesLeft ( void )

◆ AIGetDMAEnableFlag()

BOOL AIGetDMAEnableFlag ( void )

◆ AIGetDMALength()

u32 AIGetDMALength ( void )

◆ AIGetDMAStartAddr()

u32 AIGetDMAStartAddr ( void )

◆ AIGetDSPSampleRate()

u32 AIGetDSPSampleRate ( void )

◆ AIInit()

void AIInit ( u8 * stack)

◆ AIInitDMA()

void AIInitDMA ( u32 start_addr,
u32 length )

◆ AIRegisterDMACallback()

AIDCallback AIRegisterDMACallback ( AIDCallback callback)

◆ AIReset()

void AIReset ( void )

◆ AISetDSPSampleRate()

void AISetDSPSampleRate ( u32 rate)

◆ AIStartDMA()

void AIStartDMA ( void )

◆ AIStopDMA()

void AIStopDMA ( void )

Variable Documentation

◆ __AI_init_flag

BOOL __AI_init_flag
static

◆ __ai_src_time_end

OSTime __ai_src_time_end

◆ __ai_src_time_start

OSTime __ai_src_time_start

◆ __AID_Active

BOOL __AID_Active
static

◆ __AID_Callback

AIDCallback __AID_Callback
static

◆ __AIprofile

STRUCT_TIMELOG __AIprofile

◆ __AIVersion

const char* __AIVersion = "<< RVL_SDK - AI \tdebug build: "BUILD_DATE" "BUILD_TIME" (0x4302_145) >>"

◆ __CallbackStack

u8* __CallbackStack
static

◆ __OldStack

u8* __OldStack
static

◆ bound_32KHz

OSTime bound_32KHz
static

◆ bound_48KHz

OSTime bound_48KHz
static

◆ buffer

OSTime buffer
static

◆ max_wait

OSTime max_wait
static

◆ min_wait

OSTime min_wait
static