NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::snd::detail::ExternalSoundPlayer Class Reference

Description

Definition at line 21 of file snd_ExternalSoundPlayer.h.

Public Member Functions

int GetPlayingSoundCount () const
 
int GetPlayableSoundCount () const
 
void SetPlayableSoundCount (int count)
 
void StopAllSound (int fadeFrames)
 
void PauseAllSound (bool flag, int fadeFrames)
 
void DetachSoundActorAll (SoundActor *sound)
 
bool AppendSound (BasicSound *sound)
 
void RemoveSound (BasicSound *sound)
 
bool detail_CanPlaySound (int startPriority)
 
template<typename TForEachFunc>
TForEachFunc ForEachSound (TForEachFunc pFunc, bool reverse)
 

Private Member Functions

BasicSoundGetLowestPrioritySound ()
 

Private Attributes

BasicSound::ExtSoundPlayerPlayLinkList mSoundList
 
int mPlayableCount
 

Member Function Documentation

◆ GetPlayingSoundCount()

int nw4r::snd::detail::ExternalSoundPlayer::GetPlayingSoundCount ( ) const
inline

Definition at line 28 of file snd_ExternalSoundPlayer.h.

◆ GetPlayableSoundCount()

int nw4r::snd::detail::ExternalSoundPlayer::GetPlayableSoundCount ( ) const
inline

Definition at line 29 of file snd_ExternalSoundPlayer.h.

◆ ForEachSound()

template<typename TForEachFunc>
TForEachFunc nw4r::snd::detail::ExternalSoundPlayer::ForEachSound ( TForEachFunc pFunc,
bool reverse )
inline

Definition at line 41 of file snd_ExternalSoundPlayer.h.

Member Data Documentation

◆ mSoundList

BasicSound::ExtSoundPlayerPlayLinkList nw4r::snd::detail::ExternalSoundPlayer::mSoundList
private

Definition at line 73 of file snd_ExternalSoundPlayer.h.

◆ mPlayableCount

int nw4r::snd::detail::ExternalSoundPlayer::mPlayableCount
private

Definition at line 74 of file snd_ExternalSoundPlayer.h.