sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
voice.c File Reference
#include "types.h"
#include "irx.h"
#include "sifman.h"
#include "freesd.h"
#include "spu2regs.h"

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

◆ DmaStop()

void DmaStop ( u32 core)
extern

Definition at line 590 of file freesd.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.

◆ SetDmaRead()

void SetDmaRead ( s32 chan)
extern

Definition at line 615 of file freesd.c.

◆ SetDmaWrite()

void SetDmaWrite ( s32 chan)
extern

Definition at line 609 of file freesd.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.

◆ VoiceTransDma()

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

Definition at line 29 of file voice.c.

Variable Documentation

◆ TransIntrData

IntrData TransIntrData[2]
extern

Definition at line 60 of file freesd.c.

◆ VoiceTransComplete

volatile u16 VoiceTransComplete[2]

Definition at line 20 of file voice.c.

◆ VoiceTransIoMode

u32 VoiceTransIoMode[2]

Definition at line 22 of file voice.c.

◆ VoiceTransStatus

u32 VoiceTransStatus[2]

Definition at line 21 of file voice.c.