PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
voice.c File Reference
#include "types.h"
#include "irx.h"
#include "sifman.h"
#include "freesd.h"
#include "spu2regs.h"
+ Include dependency graph for voice.c:

Go to the source code of this file.

Functions

void SetDmaWrite (s32 chan)
 
void SetDmaRead (s32 chan)
 
void DmaStop (u32 core)
 
s32 VoiceTransDma (s16 chan, u16 mode, u8 *iop_addr, u32 *spu_addr, u32 size)
 
s32 VoiceTrans_Write_IOMode (u32 iopaddr, u32 spu_addr, s32 size, s16 chan)
 
int sceSdVoiceTrans (s16 chan, u16 mode, u8 *iopaddr, u32 *spuaddr, u32 size)
 
u32 sceSdVoiceTransStatus (s16 chan, s16 flag)
 

Variables

volatile u16 VoiceTransComplete [2]
 
u32 VoiceTransStatus [2]
 
u32 VoiceTransIoMode [2]
 
IntrData TransIntrData [2]
 

Detailed Description

Part of the IOP Sound Driver

Definition in file voice.c.

Function Documentation

◆ SetDmaWrite()

void SetDmaWrite ( s32  chan)
extern

Definition at line 595 of file spu2.c.

◆ SetDmaRead()

void SetDmaRead ( s32  chan)
extern

Definition at line 601 of file spu2.c.

◆ DmaStop()

void DmaStop ( u32  core)
extern

Definition at line 576 of file spu2.c.

◆ VoiceTransDma()

s32 VoiceTransDma ( s16  chan,
u16  mode,
u8 *  iop_addr,
u32 *  spu_addr,
u32  size 
)

Definition at line 29 of file voice.c.

◆ VoiceTrans_Write_IOMode()

s32 VoiceTrans_Write_IOMode ( u32  iopaddr,
u32  spu_addr,
s32  size,
s16  chan 
)

Definition at line 71 of file voice.c.

◆ sceSdVoiceTrans()

int sceSdVoiceTrans ( s16  chan,
u16  mode,
u8 *  iopaddr,
u32 *  spuaddr,
u32  size 
)

Definition at line 122 of file voice.c.

◆ sceSdVoiceTransStatus()

u32 sceSdVoiceTransStatus ( s16  chan,
s16  flag 
)

Definition at line 150 of file voice.c.

Variable Documentation

◆ VoiceTransComplete

volatile u16 VoiceTransComplete[2]

Definition at line 20 of file voice.c.

◆ VoiceTransStatus

u32 VoiceTransStatus[2]

Definition at line 21 of file voice.c.

◆ VoiceTransIoMode

u32 VoiceTransIoMode[2]

Definition at line 22 of file voice.c.

◆ TransIntrData

IntrData TransIntrData[2]
extern

Definition at line 44 of file spu2.c.