NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::snd::SoundHandle Class Reference
Inheritance diagram for nw4r::snd::SoundHandle:
[legend]

Description

Definition at line 21 of file snd_SoundHandle.h.

Public Member Functions

void detail_AttachSoundAsTempHandle (detail::BasicSound *pSound)
 
void detail_AttachSound (detail::BasicSound *sound)
 
bool IsAttachedSound () const
 
detail::BasicSounddetail_GetAttachedSound ()
 
const detail::BasicSounddetail_GetAttachedSound () const
 
void DetachSound ()
 
void FadeIn (int fadeFrames)
 
void SetVolume (f32 volume, int frames)
 
void SetPitch (f32 volume)
 
void Stop (int fadeFrames)
 
void Pause (bool flag, int fadeFrames)
 
void SetPan (f32 pan)
 
bool IsPause () const
 
int GetRemainingFadeFrames () const
 
ulong GetId () const
 
void StartPrepared ()
 

Private Attributes

detail::BasicSoundmSound
 

Constructor & Destructor Documentation

◆ SoundHandle()

nw4r::snd::SoundHandle::SoundHandle ( )
inline

Definition at line 26 of file snd_SoundHandle.h.

◆ ~SoundHandle()

nw4r::snd::SoundHandle::~SoundHandle ( )
inline

Definition at line 27 of file snd_SoundHandle.h.

Member Function Documentation

◆ IsAttachedSound()

bool nw4r::snd::SoundHandle::IsAttachedSound ( ) const
inline

Definition at line 32 of file snd_SoundHandle.h.

◆ detail_GetAttachedSound() [1/2]

detail::BasicSound * nw4r::snd::SoundHandle::detail_GetAttachedSound ( )
inline

Definition at line 33 of file snd_SoundHandle.h.

◆ detail_GetAttachedSound() [2/2]

const detail::BasicSound * nw4r::snd::SoundHandle::detail_GetAttachedSound ( ) const
inline

Definition at line 34 of file snd_SoundHandle.h.

◆ FadeIn()

void nw4r::snd::SoundHandle::FadeIn ( int fadeFrames)
inline

Definition at line 38 of file snd_SoundHandle.h.

◆ SetVolume()

void nw4r::snd::SoundHandle::SetVolume ( f32 volume,
int frames )
inline

Definition at line 43 of file snd_SoundHandle.h.

◆ SetPitch()

void nw4r::snd::SoundHandle::SetPitch ( f32 volume)
inline

Definition at line 48 of file snd_SoundHandle.h.

◆ Stop()

void nw4r::snd::SoundHandle::Stop ( int fadeFrames)
inline

Definition at line 53 of file snd_SoundHandle.h.

◆ Pause()

void nw4r::snd::SoundHandle::Pause ( bool flag,
int fadeFrames )
inline

Definition at line 58 of file snd_SoundHandle.h.

◆ SetPan()

void nw4r::snd::SoundHandle::SetPan ( f32 pan)
inline

Definition at line 63 of file snd_SoundHandle.h.

◆ IsPause()

bool nw4r::snd::SoundHandle::IsPause ( ) const
inline

Definition at line 68 of file snd_SoundHandle.h.

◆ GetRemainingFadeFrames()

int nw4r::snd::SoundHandle::GetRemainingFadeFrames ( ) const
inline

Definition at line 72 of file snd_SoundHandle.h.

◆ GetId()

ulong nw4r::snd::SoundHandle::GetId ( ) const
inline

Definition at line 79 of file snd_SoundHandle.h.

◆ StartPrepared()

void nw4r::snd::SoundHandle::StartPrepared ( )
inline

Definition at line 87 of file snd_SoundHandle.h.

Member Data Documentation

◆ mSound

detail::BasicSound* nw4r::snd::SoundHandle::mSound
private

Definition at line 96 of file snd_SoundHandle.h.