Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASAramStream Class Reference

#include <JASAramStream.h>

+ Collaboration diagram for JASAramStream:

Classes

struct  BlockHeader
 
struct  Header
 
struct  TaskData
 

Public Types

enum  CallbackType { CB_START , CB_STOP }
 
typedef void(* StreamCallback) (u32, JASAramStream *, void *)
 

Public Member Functions

 JASAramStream ()
 
void init (u32, u32, StreamCallback, void *)
 
bool prepare (s32, int)
 
bool start ()
 
bool stop (u16)
 
bool pause (bool)
 
bool cancel ()
 
u32 getBlockSamples () const
 
bool headerLoad (u32, int)
 
bool load ()
 
void updateChannel (u32, JASChannel *, JASDsp::TChannel *)
 
s32 channelProc ()
 
void channelStart ()
 
void channelStop (u16)
 
void setPitch (f32 pitch)
 
void setVolume (f32 volume)
 
void setPan (f32 pan)
 
void setFxmix (f32 fxMix)
 
void setDolby (f32 dolby)
 
void setChannelVolume (int channel, f32 volume)
 
void setChannelPan (int channel, f32 pan)
 
void setChannelFxmix (int channel, f32 fxMix)
 
void setChannelDolby (int channel, f32 dolby)
 

Static Public Member Functions

static void initSystem (u32, u32)
 
static void headerLoadTask (void *)
 
static void firstLoadTask (void *)
 
static void loadToAramTask (void *)
 
static void finishTask (void *)
 
static void prepareFinishTask (void *)
 
static s32 channelProcCallback (void *)
 
static s32 dvdErrorCheck (void *)
 
static void channelCallback (u32, JASChannel *, JASDsp::TChannel *, void *)
 
static u32 getBlockSize ()
 

Public Attributes

OSMessageQueue field_0x000
 
OSMessageQueue field_0x020
 
voidfield_0x040 [16]
 
voidfield_0x080 [4]
 
JASChannelmChannels [CHANNEL_MAX]
 
JASChannelfield_0x0a8
 
bool field_0x0ac
 
bool field_0x0ad
 
u8 field_0x0ae
 
int field_0x0b0
 
int field_0x0b4
 
u32 field_0x0b8
 
int field_0x0bc
 
bool field_0x0c0
 
u32 field_0x0c4
 
f32 field_0x0c8
 
DVDFileInfo mDvdFileInfo
 
u32 field_0x108
 
int field_0x10c
 
u32 mBlock
 
u8 field_0x114
 
u32 field_0x118
 
int field_0x11c
 
int field_0x120
 
int field_0x124
 
u16 field_0x128
 
int field_0x12c
 
s16 field_0x130 [CHANNEL_MAX]
 
s16 field_0x13c [CHANNEL_MAX]
 
int field_0x148
 
u32 field_0x14c
 
StreamCallback mCallback
 
voidmCallbackData
 
u16 field_0x158
 
u16 mChannelNum
 
u32 mBufCount
 
u32 field_0x160
 
u32 field_0x164
 
bool mLoop
 
u32 mLoopStart
 
u32 mLoopEnd
 
f32 mVolume
 
f32 mPitch
 
f32 mChannelVolume [CHANNEL_MAX]
 
f32 mChannelPan [CHANNEL_MAX]
 
f32 mChannelFxMix [CHANNEL_MAX]
 
f32 mChannelDolby [CHANNEL_MAX]
 
u16 field_0x1dc [CHANNEL_MAX]
 

Static Public Attributes

static JASTaskThreadsLoadThread
 
static u8sReadBuffer
 
static u32 sBlockSize
 
static u32 sChannelMax
 

Member Typedef Documentation

◆ StreamCallback

typedef void(* JASAramStream::StreamCallback) (u32, JASAramStream *, void *)

Member Enumeration Documentation

◆ CallbackType

Enumerator
CB_START 
CB_STOP 

Constructor & Destructor Documentation

◆ JASAramStream()

JASAramStream::JASAramStream ( )

Member Function Documentation

◆ cancel()

bool JASAramStream::cancel ( )

◆ channelCallback()

void JASAramStream::channelCallback ( u32  i_callbackType,
JASChannel i_channel,
JASDsp::TChannel i_dspChannel,
void i_this 
)
static

◆ channelProc()

s32 JASAramStream::channelProc ( )

◆ channelProcCallback()

s32 JASAramStream::channelProcCallback ( void i_this)
static

◆ channelStart()

void JASAramStream::channelStart ( )

◆ channelStop()

void JASAramStream::channelStop ( u16  i_directRelease)

◆ dvdErrorCheck()

s32 JASAramStream::dvdErrorCheck ( void param_0)
static

◆ finishTask()

void JASAramStream::finishTask ( void i_this)
static

◆ firstLoadTask()

void JASAramStream::firstLoadTask ( void i_data)
static

◆ getBlockSamples()

u32 JASAramStream::getBlockSamples ( ) const

◆ getBlockSize()

static u32 JASAramStream::getBlockSize ( )
inlinestatic

◆ headerLoad()

bool JASAramStream::headerLoad ( u32  param_0,
int  param_1 
)

◆ headerLoadTask()

void JASAramStream::headerLoadTask ( void i_data)
static

◆ init()

void JASAramStream::init ( u32  param_0,
u32  param_1,
StreamCallback  i_callback,
void i_callbackData 
)

◆ initSystem()

void JASAramStream::initSystem ( u32  i_blockSize,
u32  i_channelMax 
)
static

◆ load()

bool JASAramStream::load ( )

◆ loadToAramTask()

void JASAramStream::loadToAramTask ( void i_this)
static

◆ pause()

bool JASAramStream::pause ( bool  param_0)

◆ prepare()

bool JASAramStream::prepare ( s32  param_0,
int  param_1 
)

◆ prepareFinishTask()

void JASAramStream::prepareFinishTask ( void i_this)
static

◆ setChannelDolby()

void JASAramStream::setChannelDolby ( int  channel,
f32  dolby 
)
inline

◆ setChannelFxmix()

void JASAramStream::setChannelFxmix ( int  channel,
f32  fxMix 
)
inline

◆ setChannelPan()

void JASAramStream::setChannelPan ( int  channel,
f32  pan 
)
inline

◆ setChannelVolume()

void JASAramStream::setChannelVolume ( int  channel,
f32  volume 
)
inline

◆ setDolby()

void JASAramStream::setDolby ( f32  dolby)
inline

◆ setFxmix()

void JASAramStream::setFxmix ( f32  fxMix)
inline

◆ setPan()

void JASAramStream::setPan ( f32  pan)
inline

◆ setPitch()

void JASAramStream::setPitch ( f32  pitch)
inline

◆ setVolume()

void JASAramStream::setVolume ( f32  volume)
inline

◆ start()

bool JASAramStream::start ( )

◆ stop()

bool JASAramStream::stop ( u16  param_0)

◆ updateChannel()

void JASAramStream::updateChannel ( u32  i_callbackType,
JASChannel i_channel,
JASDsp::TChannel i_dspChannel 
)

Member Data Documentation

◆ field_0x000

OSMessageQueue JASAramStream::field_0x000

◆ field_0x020

OSMessageQueue JASAramStream::field_0x020

◆ field_0x040

void* JASAramStream::field_0x040[16]

◆ field_0x080

void* JASAramStream::field_0x080[4]

◆ field_0x0a8

JASChannel* JASAramStream::field_0x0a8

◆ field_0x0ac

bool JASAramStream::field_0x0ac

◆ field_0x0ad

bool JASAramStream::field_0x0ad

◆ field_0x0ae

u8 JASAramStream::field_0x0ae

◆ field_0x0b0

int JASAramStream::field_0x0b0

◆ field_0x0b4

int JASAramStream::field_0x0b4

◆ field_0x0b8

u32 JASAramStream::field_0x0b8

◆ field_0x0bc

int JASAramStream::field_0x0bc

◆ field_0x0c0

bool JASAramStream::field_0x0c0

◆ field_0x0c4

u32 JASAramStream::field_0x0c4

◆ field_0x0c8

f32 JASAramStream::field_0x0c8

◆ field_0x108

u32 JASAramStream::field_0x108

◆ field_0x10c

int JASAramStream::field_0x10c

◆ field_0x114

u8 JASAramStream::field_0x114

◆ field_0x118

u32 JASAramStream::field_0x118

◆ field_0x11c

int JASAramStream::field_0x11c

◆ field_0x120

int JASAramStream::field_0x120

◆ field_0x124

int JASAramStream::field_0x124

◆ field_0x128

u16 JASAramStream::field_0x128

◆ field_0x12c

int JASAramStream::field_0x12c

◆ field_0x130

s16 JASAramStream::field_0x130[CHANNEL_MAX]

◆ field_0x13c

s16 JASAramStream::field_0x13c[CHANNEL_MAX]

◆ field_0x148

int JASAramStream::field_0x148

◆ field_0x14c

u32 JASAramStream::field_0x14c

◆ field_0x158

u16 JASAramStream::field_0x158

◆ field_0x160

u32 JASAramStream::field_0x160

◆ field_0x164

u32 JASAramStream::field_0x164

◆ field_0x1dc

u16 JASAramStream::field_0x1dc[CHANNEL_MAX]

◆ mBlock

u32 JASAramStream::mBlock

◆ mBufCount

u32 JASAramStream::mBufCount

◆ mCallback

StreamCallback JASAramStream::mCallback

◆ mCallbackData

void* JASAramStream::mCallbackData

◆ mChannelDolby

f32 JASAramStream::mChannelDolby[CHANNEL_MAX]

◆ mChannelFxMix

f32 JASAramStream::mChannelFxMix[CHANNEL_MAX]

◆ mChannelNum

u16 JASAramStream::mChannelNum

◆ mChannelPan

f32 JASAramStream::mChannelPan[CHANNEL_MAX]

◆ mChannels

JASChannel* JASAramStream::mChannels[CHANNEL_MAX]

◆ mChannelVolume

f32 JASAramStream::mChannelVolume[CHANNEL_MAX]

◆ mDvdFileInfo

DVDFileInfo JASAramStream::mDvdFileInfo

◆ mLoop

bool JASAramStream::mLoop

◆ mLoopEnd

u32 JASAramStream::mLoopEnd

◆ mLoopStart

u32 JASAramStream::mLoopStart

◆ mPitch

f32 JASAramStream::mPitch

◆ mVolume

f32 JASAramStream::mVolume

◆ sBlockSize

u32 JASAramStream::sBlockSize
static

◆ sChannelMax

u32 JASAramStream::sChannelMax
static

◆ sLoadThread

JASTaskThread * JASAramStream::sLoadThread
static

◆ sReadBuffer

u8 * JASAramStream::sReadBuffer
static

The documentation for this class was generated from the following files: