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

Functions

void __AISHandler (s16 interrupt, OSContext *context)
 
void __AIDHandler (s16 interrupt, OSContext *context)
 
void __AICallbackStackSwitch (AIDCallback callback)
 
void __AI_SRC_INIT (void)
 
AIDCallback AIRegisterDMACallback (AIDCallback callback)
 
void AIInitDMA (u32 addr, u32 length)
 
void AIStartDMA (void)
 
void AIStopDMA (void)
 
void AISetStreamPlayState (u32 state)
 
u32 AIGetStreamPlayState (void)
 
void AISetDSPSampleRate (u32 rate)
 
u32 AIGetDSPSampleRate (void)
 
void __AI_set_stream_sample_rate (u32 rate)
 
u32 AIGetStreamSampleRate (void)
 
void AISetStreamVolLeft (u8 vol)
 
u8 AIGetStreamVolLeft (void)
 
void AISetStreamVolRight (u8 vol)
 
u8 AIGetStreamVolRight (void)
 
void AIResetStreamSampleCount (void)
 
void AISetStreamTrigger (u32 trigger)
 
void AIInit (u8 *stack)
 
asm void __AICallbackStackSwitch (register AIDCallback cb)
 

Variables

char__AIVersion = "<< Dolphin SDK - AI\trelease build: Apr 5 2004 04:15:02 (0x2301) >>"
 
static AISCallback __AIS_Callback
 
static AIDCallback __AID_Callback
 
static u8__CallbackStack
 
static u8__OldStack
 
static volatile s32 __AI_init_flag
 
static volatile s32 __AID_Active
 
static OSTime bound_32KHz
 
static OSTime bound_48KHz
 
static OSTime min_wait
 
static OSTime max_wait
 
static OSTime buffer
 

Function Documentation

◆ __AI_set_stream_sample_rate()

void __AI_set_stream_sample_rate ( u32  rate)

◆ __AI_SRC_INIT()

void __AI_SRC_INIT ( void  )

◆ __AICallbackStackSwitch() [1/2]

void __AICallbackStackSwitch ( AIDCallback  callback)

◆ __AICallbackStackSwitch() [2/2]

asm void __AICallbackStackSwitch ( register AIDCallback  cb)

◆ __AIDHandler()

void __AIDHandler ( s16  interrupt,
OSContext context 
)

◆ __AISHandler()

void __AISHandler ( s16  interrupt,
OSContext context 
)

◆ AIGetDSPSampleRate()

u32 AIGetDSPSampleRate ( void  )

◆ AIGetStreamPlayState()

u32 AIGetStreamPlayState ( void  )
inline

◆ AIGetStreamSampleRate()

u32 AIGetStreamSampleRate ( void  )

◆ AIGetStreamVolLeft()

u8 AIGetStreamVolLeft ( void  )

◆ AIGetStreamVolRight()

u8 AIGetStreamVolRight ( void  )

◆ AIInit()

void AIInit ( u8 stack)

◆ AIInitDMA()

void AIInitDMA ( u32  addr,
u32  length 
)

◆ AIRegisterDMACallback()

AIDCallback AIRegisterDMACallback ( AIDCallback  callback)

◆ AIResetStreamSampleCount()

void AIResetStreamSampleCount ( void  )

◆ AISetDSPSampleRate()

void AISetDSPSampleRate ( u32  rate)

◆ AISetStreamPlayState()

void AISetStreamPlayState ( u32  state)

◆ AISetStreamTrigger()

void AISetStreamTrigger ( u32  trigger)

◆ AISetStreamVolLeft()

void AISetStreamVolLeft ( u8  vol)

◆ AISetStreamVolRight()

void AISetStreamVolRight ( u8  vol)

◆ AIStartDMA()

void AIStartDMA ( void  )

◆ AIStopDMA()

void AIStopDMA ( void  )

Variable Documentation

◆ __AI_init_flag

volatile s32 __AI_init_flag
static

◆ __AID_Active

volatile s32 __AID_Active
static

◆ __AID_Callback

AIDCallback __AID_Callback
static

◆ __AIS_Callback

AISCallback __AIS_Callback
static

◆ __AIVersion

char* __AIVersion = "<< Dolphin SDK - AI\trelease build: Apr 5 2004 04:15:02 (0x2301) >>"

◆ __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