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

Description

Definition at line 11 of file d_audio.hpp.

Private Attributes

u32 mNumHandles
 
u32 mRemotePlayer
 
void * mSnd2DCalc
 
u32 mObjType
 

Additional Inherited Members

- Private Types inherited from nw4r::snd::SoundStartable
enum  StartResult {
  START_SUCCESS ,
  START_ERR_LOW_PRIORITY ,
  START_ERR_INVALID_LABEL_STRING ,
  START_ERR_INVALID_SOUNDID ,
  START_ERR_NOT_DATA_LOADED ,
  START_ERR_NOT_ENOUGH_PLAYER_HEAP ,
  START_ERR_CANNOT_OPEN_FILE ,
  START_ERR_NOT_AVAILABLE ,
  START_ERR_CANNOT_ALLOCATE_TRACK ,
  START_ERR_NOT_ENOUGH_INSTANCE ,
  START_ERR_INVALID_PARAMETER ,
  START_ERR_INVALID_SEQ_START_LOCATION_LABEL ,
  START_ERR_USER = 128 ,
  START_ERR_UNKNOWN = 255
}
 
- Private Member Functions inherited from nw4r::snd::SoundActor
 SoundActor (SoundArchivePlayer &player)
 
virtual ulong detail_ConvertLabelStringToSoundId (const char *label) override
 
virtual StartResult detail_SetupSound (SoundHandle *pHandle, ulong soundId, bool holdFlag, const StartInfo *pStartInfo) override
 
virtual StartResult SetupSound (SoundHandle *pHandle, ulong soundId, const StartInfo *pStartInfo, void *)
 
virtual StartResult detail_SetupSoundWithAmbientInfo (SoundHandle *, ulong, const StartInfo *, detail::BasicSound::AmbientInfo *, void *)
 
detail::ExternalSoundPlayerdetail_GetActorPlayer (int actorPlayerId)
 
template<typename TForEachFunc>
TForEachFunc ForEachSound (TForEachFunc pFunc, bool reverse)
 
detail::SoundActorParam const & detail_GetActorParam () const
 
void StopAllSound (int fadeFrames)
 
void PauseAllSound (bool flag, int fadeFrames)
 
int GetPlayingSoundCount (int playerId) const
 
- Private Member Functions inherited from nw4r::snd::SoundStartable
StartResult detail_StartSound (SoundHandle *pHandle, ulong id, const StartInfo *pStartInfo)
 
StartResult detail_StartSound (SoundHandle *pHandle, const char *label, const StartInfo *pStartInfo)
 
StartResult detail_HoldSound (SoundHandle *pHandle, ulong id, const StartInfo *pStartInfo)
 
StartResult detail_HoldSound (SoundHandle *pHandle, const char *label, const StartInfo *pStartInfo)
 
StartResult detail_PrepareSound (SoundHandle *pHandle, ulong id, const StartInfo *pStartInfo)
 
StartResult detail_PrepareSound (SoundHandle *pHandle, const char *label, const StartInfo *pStartInfo)
 
bool StartSound (SoundHandle *pHandle, ulong id)
 
bool StartSound (SoundHandle *pHandle, const char *label)
 
bool StartSound (SoundHandle *pHandle, unsigned int id)
 
bool StartSound (SoundHandle *pHandle, int id)
 
bool HoldSound (SoundHandle *pHandle, ulong id)
 
bool HoldSound (SoundHandle *pHandle, const char *label)
 
bool HoldSound (SoundHandle *pHandle, unsigned int id)
 
bool HoldSound (SoundHandle *pHandle, int id)
 
bool PrepareSound (SoundHandle *pHandle, ulong id)
 
bool PrepareSound (SoundHandle *pHandle, unsigned int id)
 
bool PrepareSound (SoundHandle *pHandle, int id)
 
- Static Private Attributes inherited from nw4r::snd::SoundActor
static int const ACTOR_PLAYER_COUNT = 4
 

Member Data Documentation

◆ mNumHandles

u32 NMSndObjectBase::mNumHandles
private

Definition at line 12 of file d_audio.hpp.

◆ mRemotePlayer

u32 NMSndObjectBase::mRemotePlayer
private

Definition at line 13 of file d_audio.hpp.

◆ mSnd2DCalc

void* NMSndObjectBase::mSnd2DCalc
private

Definition at line 14 of file d_audio.hpp.

◆ mObjType

u32 NMSndObjectBase::mObjType
private

Definition at line 15 of file d_audio.hpp.