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

#include <SpkSound.h>

+ Inheritance diagram for SpkSound:
+ Collaboration diagram for SpkSound:

Public Member Functions

 SpkSound (void)
 
 ~SpkSound (void)
 
void update (f32 vol)
 
void stop (s32 msec)
 
void startRelease (void)
 
bool isHandleAttached (void) const
 
void attachHandle (SpkSoundHandle *handle)
 
void releaseHandle (void)
 
bool start (s32 chan, s32 soundNum)
 
void kill (void)
 
bool isStopping (void) const
 
bool isDead (void) const
 
bool isLocked (void) const
 
void unlock (void)
 
s32 getLifeTime (void)
 
void setLifeTime (s32 lifeTime)
 
void updateLifeTime (void)
 
s32 convertMsecToFrames (s32 msec)
 
bool isLoopWave (void)
 
bool setWaveData (s32 soundNum)
 
s32 getPriority (void) const
 
void setPriority (s32 priority)
 
s32 getSoundNum (void) const
 
void setSoundNum (s32 soundNum)
 

Public Attributes

SpkSoundHandlemHandle
 
s32 mSoundNum
 
s16mWaveData
 
s32 mCurPos
 
u32 field_0x20
 
s32 mPriority
 
u32 field_0x28
 
s32 mWaveSize
 
s32 mWaveLoopStart
 
s32 mWaveLoopEnd
 
s32 mState
 
s32 mLifeTime
 
SpkSoundVolume mVolume
 

Additional Inherited Members

- Static Public Member Functions inherited from JASPoolAllocObject< SpkSound >
static void * operator new (size_t n)
 
static void * operator new (size_t n, void *ptr)
 
static void operator delete (void *ptr, size_t n)
 
static void newMemPool (int param_0)
 
static u32 getFreeMemCount ()
 
static u32 getTotalMemCount ()
 

Constructor & Destructor Documentation

◆ SpkSound()

SpkSound::SpkSound ( void )

◆ ~SpkSound()

SpkSound::~SpkSound ( void )

Member Function Documentation

◆ attachHandle()

void SpkSound::attachHandle ( SpkSoundHandle * handle)

◆ convertMsecToFrames()

s32 SpkSound::convertMsecToFrames ( s32 msec)

◆ getLifeTime()

s32 SpkSound::getLifeTime ( void )

◆ getPriority()

s32 SpkSound::getPriority ( void ) const
inline

◆ getSoundNum()

s32 SpkSound::getSoundNum ( void ) const
inline

◆ isDead()

bool SpkSound::isDead ( void ) const

◆ isHandleAttached()

bool SpkSound::isHandleAttached ( void ) const

◆ isLocked()

bool SpkSound::isLocked ( void ) const

◆ isLoopWave()

bool SpkSound::isLoopWave ( void )
inline

◆ isStopping()

bool SpkSound::isStopping ( void ) const

◆ kill()

void SpkSound::kill ( void )

◆ releaseHandle()

void SpkSound::releaseHandle ( void )

◆ setLifeTime()

void SpkSound::setLifeTime ( s32 lifeTime)

◆ setPriority()

void SpkSound::setPriority ( s32 priority)
inline

◆ setSoundNum()

void SpkSound::setSoundNum ( s32 soundNum)
inline

◆ setWaveData()

bool SpkSound::setWaveData ( s32 soundNum)

◆ start()

bool SpkSound::start ( s32 chan,
s32 soundNum )

◆ startRelease()

void SpkSound::startRelease ( void )

◆ stop()

void SpkSound::stop ( s32 msec)

◆ unlock()

void SpkSound::unlock ( void )

◆ update()

void SpkSound::update ( f32 vol)

◆ updateLifeTime()

void SpkSound::updateLifeTime ( void )

Member Data Documentation

◆ field_0x20

u32 SpkSound::field_0x20

◆ field_0x28

u32 SpkSound::field_0x28

◆ mCurPos

s32 SpkSound::mCurPos

◆ mHandle

SpkSoundHandle* SpkSound::mHandle

◆ mLifeTime

s32 SpkSound::mLifeTime

◆ mPriority

s32 SpkSound::mPriority

◆ mSoundNum

s32 SpkSound::mSoundNum

◆ mState

s32 SpkSound::mState

◆ mVolume

SpkSoundVolume SpkSound::mVolume

◆ mWaveData

s16* SpkSound::mWaveData

◆ mWaveLoopEnd

s32 SpkSound::mWaveLoopEnd

◆ mWaveLoopStart

s32 SpkSound::mWaveLoopStart

◆ mWaveSize

s32 SpkSound::mWaveSize

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