Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASDSPChannel Struct Reference

#include <JASDSPChannel.h>

+ Collaboration diagram for JASDSPChannel:

Public Types

enum  Status { STATUS_ACTIVE , STATUS_INACTIVE , STATUS_DROP }
 
enum  CallbackType { CB_PLAY , CB_START , CB_STOP , CB_DROP }
 
typedef s32(* Callback) (u32, JASDsp::TChannel *, void *)
 

Public Member Functions

void drop ()
 
u32 getStatus ()
 
 JASDSPChannel ()
 
void free ()
 
void start ()
 
void drop ()
 
void setPriority (u8)
 
void updateProc ()
 

Static Public Member Functions

static JASDSPChannelgetHandle (u32)
 
static void initAll ()
 
static JASDSPChannelalloc (u8, Callback, void *)
 
static JASDSPChannelallocForce (u8, Callback, void *)
 
static JASDSPChannelgetLowestChannel (int)
 
static JASDSPChannelgetLowestActiveChannel ()
 
static void updateAll ()
 
static int killActiveChannel ()
 
static JASDSPChannelgetHandle (u32)
 

Public Attributes

u32 mStatus
 
s32 mStatus
 
s16 mPriority
 
u32 mFlags
 
u32 field_0xc
 
Callback mCallback
 
voidmCallbackData
 
JASDsp::TChannelmChannel
 

Static Public Attributes

static JASDSPChannelsDspChannels
 

Member Typedef Documentation

◆ Callback

typedef s32(* JASDSPChannel::Callback) (u32, JASDsp::TChannel *, void *)

Member Enumeration Documentation

◆ CallbackType

Enumerator
CB_PLAY 
CB_START 
CB_STOP 
CB_DROP 

◆ Status

Enumerator
STATUS_ACTIVE 
STATUS_INACTIVE 
STATUS_DROP 

Constructor & Destructor Documentation

◆ JASDSPChannel()

JASDSPChannel::JASDSPChannel ( )

Member Function Documentation

◆ alloc()

JASDSPChannel * JASDSPChannel::alloc ( u8  i_priority,
Callback  i_callback,
void i_callbackData 
)
static

◆ allocForce()

JASDSPChannel * JASDSPChannel::allocForce ( u8  i_priority,
Callback  i_callback,
void i_callbackData 
)
static

◆ drop() [1/2]

void JASDSPChannel::drop ( )

◆ drop() [2/2]

void JASDSPChannel::drop ( )

◆ free()

void JASDSPChannel::free ( )

◆ getHandle() [1/2]

static JASDSPChannel * JASDSPChannel::getHandle ( u32  )
static

◆ getHandle() [2/2]

JASDSPChannel * JASDSPChannel::getHandle ( u32  i_index)
static

◆ getLowestActiveChannel()

JASDSPChannel * JASDSPChannel::getLowestActiveChannel ( )
static

◆ getLowestChannel()

JASDSPChannel * JASDSPChannel::getLowestChannel ( int  i_priority)
static

◆ getStatus()

u32 JASDSPChannel::getStatus ( )
inline

◆ initAll()

void JASDSPChannel::initAll ( )
static

◆ killActiveChannel()

int JASDSPChannel::killActiveChannel ( )
static

◆ setPriority()

void JASDSPChannel::setPriority ( u8  i_priority)

◆ start()

void JASDSPChannel::start ( )

◆ updateAll()

void JASDSPChannel::updateAll ( )
static

◆ updateProc()

void JASDSPChannel::updateProc ( )

Member Data Documentation

◆ field_0xc

u32 JASDSPChannel::field_0xc

◆ mCallback

Callback JASDSPChannel::mCallback

◆ mCallbackData

void* JASDSPChannel::mCallbackData

◆ mChannel

JASDsp::TChannel* JASDSPChannel::mChannel

◆ mFlags

u32 JASDSPChannel::mFlags

◆ mPriority

s16 JASDSPChannel::mPriority

◆ mStatus [1/2]

s32 JASDSPChannel::mStatus

◆ mStatus [2/2]

u32 JASDSPChannel::mStatus

◆ sDspChannels

JASDSPChannel * JASDSPChannel::sDspChannels
static

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