PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
effect.c File Reference
#include "types.h"
#include "libsd.h"
#include "spu2regs.h"
#include "sysclib.h"
+ Include dependency graph for effect.c:

Go to the source code of this file.

Functions

const u32 ClearEffectData[256] __attribute__ ((aligned(16)))
 
u32 GetEEA (s32 core)
 
void SetESA (s32 core, u32 value)
 
void SetEffectRegister (volatile u16 *reg, u32 val)
 
void SetEffectData (u16 *mode_data, u32 core)
 
int sceSdSetEffectAttr (int core, sceSdEffectAttr *attr)
 
void sceSdGetEffectAttr (int core, sceSdEffectAttr *attr)
 
int sceSdClearEffectWorkArea (int core, int chan, int effect_type)
 

Variables

u32 VoiceTransIoMode [2]
 
sceSdTransIntrHandler TransIntrHandlers [2]
 
SdIntrCallback TransIntrCallbacks [2]
 
sceSdEffectAttr EffectAttr [2]
 
u32 EffectAddr [2]
 
u16 EffectSizes [10] = { 0x1, 0x26C, 0x1F4, 0x484, 0x6FE, 0xADE, 0xF6C, 0x1804, 0x1804, 0x3C0 }
 
u32 EffectParams [160]
 

Detailed Description

Part of the IOP Sound Driver

Definition in file effect.c.

Function Documentation

◆ GetEEA()

u32 GetEEA ( s32  core)

Definition at line 72 of file effect.c.

◆ SetESA()

void SetESA ( s32  core,
u32  value 
)

Definition at line 77 of file effect.c.

◆ SetEffectRegister()

void SetEffectRegister ( volatile u16 *  reg,
u32  val 
)

Definition at line 86 of file effect.c.

◆ SetEffectData()

void SetEffectData ( u16 *  mode_data,
u32  core 
)

Definition at line 92 of file effect.c.

◆ sceSdSetEffectAttr()

int sceSdSetEffectAttr ( int  core,
sceSdEffectAttr attr 
)

Definition at line 109 of file effect.c.

◆ sceSdGetEffectAttr()

void sceSdGetEffectAttr ( int  core,
sceSdEffectAttr attr 
)

Definition at line 198 of file effect.c.

◆ sceSdClearEffectWorkArea()

int sceSdClearEffectWorkArea ( int  core,
int  chan,
int  effect_type 
)

Definition at line 203 of file effect.c.

Variable Documentation

◆ VoiceTransIoMode

u32 VoiceTransIoMode[2]
extern

Definition at line 32 of file spu2.c.

◆ TransIntrHandlers

sceSdTransIntrHandler TransIntrHandlers[2]
extern

Definition at line 36 of file spu2.c.

◆ TransIntrCallbacks

SdIntrCallback TransIntrCallbacks[2]
extern

Definition at line 37 of file spu2.c.

◆ EffectAttr

sceSdEffectAttr EffectAttr[2]

Definition at line 23 of file effect.c.

◆ EffectAddr

u32 EffectAddr[2]

Definition at line 24 of file effect.c.

◆ EffectSizes

u16 EffectSizes[10] = { 0x1, 0x26C, 0x1F4, 0x484, 0x6FE, 0xADE, 0xF6C, 0x1804, 0x1804, 0x3C0 }

Definition at line 27 of file effect.c.

◆ EffectParams

u32 EffectParams[160]

Definition at line 29 of file effect.c.