Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASDsp Namespace Reference

Classes

struct  FxBuf
 
struct  FxlineConfig_
 
struct  TChannel
 

Functions

void boot (void(*)(void *))
 
void releaseHalt (u32)
 
void finishWork (u16)
 
void syncFrame (u32, u32, u32)
 
void setDSPMixerLevel (f32)
 
f32 getDSPMixerLevel ()
 
TChannelgetDSPHandle (int)
 
void setFilterTable (s16 *, s16 *, u32)
 
void flushBuffer ()
 
void invalChannelAll ()
 
void initBuffer ()
 
int setFXLine (u8, s16 *, JASDsp::FxlineConfig_ *)
 

Variables

u8 const DSPADPCM_FILTER [64]
 
u32 const DSPRES_FILTER [320]
 
u16 SEND_TABLE [12+12]
 
TChannelCH_BUF
 
FxBufFX_BUF
 
f32 sDSPVolume
 
const u32 FILTER_MODE_IIR = 0x00000020
 

Function Documentation

◆ boot()

void JASDsp::boot ( void(*)(void *)  param_0)

◆ finishWork()

void JASDsp::finishWork ( u16  param_0)

◆ flushBuffer()

void JASDsp::flushBuffer ( )

◆ getDSPHandle()

JASDsp::TChannel * JASDsp::getDSPHandle ( int  param_0)

◆ getDSPMixerLevel()

f32 JASDsp::getDSPMixerLevel ( )

◆ initBuffer()

void JASDsp::initBuffer ( )

◆ invalChannelAll()

void JASDsp::invalChannelAll ( )

◆ releaseHalt()

void JASDsp::releaseHalt ( u32  param_0)

◆ setDSPMixerLevel()

void JASDsp::setDSPMixerLevel ( f32  dsp_level)

◆ setFilterTable()

void JASDsp::setFilterTable ( s16 param_0,
s16 param_1,
u32  param_2 
)

◆ setFXLine()

int JASDsp::setFXLine ( u8  param_0,
s16 param_1,
JASDsp::FxlineConfig_ param_2 
)

◆ syncFrame()

void JASDsp::syncFrame ( u32  param_0,
u32  param_1,
u32  param_2 
)

Variable Documentation

◆ CH_BUF

JASDsp::TChannel * JASDsp::CH_BUF
extern

◆ DSPADPCM_FILTER

u8 const JASDsp::DSPADPCM_FILTER
extern
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00, 0x04, 0x00, 0x04, 0x00,
0x10, 0x00, 0xF8, 0x00, 0x0E, 0x00, 0xFA, 0x00, 0x0C, 0x00, 0xFC, 0x00, 0x12, 0x00, 0xF6, 0x00,
0x10, 0x68, 0xF7, 0x38, 0x12, 0xC0, 0xF7, 0x04, 0x14, 0x00, 0xF4, 0x00, 0x08, 0x00, 0xF8, 0x00,
0x04, 0x00, 0xFC, 0x00, 0xFC, 0x00, 0x04, 0x00, 0xFC, 0x00, 0x00, 0x00, 0xF8, 0x00, 0x00, 0x00,
}

◆ DSPRES_FILTER

u32 const JASDsp::DSPRES_FILTER
extern

◆ FILTER_MODE_IIR

const u32 JASDsp::FILTER_MODE_IIR = 0x00000020
extern

◆ FX_BUF

JASDsp::FxBuf * JASDsp::FX_BUF
extern

◆ sDSPVolume

f32 JASDsp::sDSPVolume
extern

◆ SEND_TABLE

u16 JASDsp::SEND_TABLE
extern
Initial value:
= {
0x0D00,
0x0D60,
0x0DC8,
0x0E28,
0x0E88,
0x0EE8,
0x0CA0,
0x0F40,
0x0FA0,
0x0B00,
0x09A0,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
}