NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 67 of file snd_SoundArchivePlayer.h.
Classes | |
struct | FileAddress |
struct | GroupAddress |
class | SeqNoteOnCallback |
class | WsdCallback |
Public Member Functions | |
virtual void | InvalidateData (void const *start, void const *end) |
virtual void | InvalidateWaveData (void const *start, void const *end) |
virtual ulong | detail_ConvertLabelStringToSoundId (char const *label) |
virtual StartResult | detail_SetupSound (SoundHandle *handle, ulong soundId, bool holdFlag, StartInfo const *startInfo) |
bool | Setup (SoundArchive const *arc, void *buffer, ulong size, void *strmBuffer, ulong strmBufferSize) |
void | Shutdown () |
bool | LoadGroup (ulong id, SoundMemoryAllocatable *pAllocatable, ulong blockSize) |
bool | LoadGroup (const char *pLabel, SoundMemoryAllocatable *pAllocatable, ulong blockSize) |
bool | LoadGroup (int id, SoundMemoryAllocatable *pAllocatable, ulong blockSize) |
bool | LoadGroup (unsigned int id, SoundMemoryAllocatable *pAllocatable, ulong blockSize) |
bool | IsLoadedGroup (ulong groupId) const |
SoundArchive const & | GetSoundArchive () const |
ulong | GetSoundPlayerCount () const |
SoundPlayer & | GetSoundPlayer (ulong playerId) |
bool | IsAvailable () const |
ulong | GetRequiredMemSize (SoundArchive const *arc) |
ulong | GetRequiredStrmBufferSize (SoundArchive const *arc) |
void const * | GetGroupAddress (ulong groupId) const |
void | SetGroupAddress (ulong id, const void *pAddr) |
void const * | GetGroupWaveDataAddress (ulong groupId) const |
void | SetGroupWaveDataAddress (ulong id, const void *pAddr) |
void const * | GetFileAddress (ulong fileId) const |
void const * | GetFileWaveDataAddress (ulong fileId) const |
void const * | detail_GetFileAddress (ulong fileId) const |
void const * | detail_GetFileWaveDataAddress (ulong fileId) const |
bool | SetupMram (SoundArchive const *arc, void *buffer, ulong size) |
bool | SetupStrmBuffer (SoundArchive const *arc, void *buffer, ulong size) |
bool | SetupSoundPlayer (SoundArchive const *arc, void **buffer, void *endp) |
bool | SetupSeqSound (SoundArchive const *arc, int numSounds, void **buffer, void *endp) |
bool | SetupWaveSound (SoundArchive const *arc, int numSounds, void **buffer, void *endp) |
bool | SetupStrmSound (SoundArchive const *arc, int numSounds, void **buffer, void *endp) |
bool | SetupSeqTrack (SoundArchive const *arc, int numTracks, void **buffer, void *endp) |
bool | CreateGroupAddressTable (SoundArchive const *arc, void **buffer, void *endp) |
bool | CreateFileAddressTable (SoundArchive const *arc, void **buffer, void *endp) |
detail::PlayerHeap * | CreatePlayerHeap (void **buffer, void *endp, ulong heapSize) |
void | Update () |
void | UpdateCommonSoundParam (detail::BasicSound *sound, SoundArchive::SoundInfo const *commonInfo) |
SoundStartable::StartResult | detail_SetupSoundImpl (SoundHandle *handle, ulong soundId, detail::BasicSound::AmbientInfo *ambientArgInfo, SoundActor *actor, bool holdFlag, SoundStartable::StartInfo const *startInfo) |
![]() | |
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 Public Attributes | |
static int const | DEFAULT_STREAM_BLOCK_COUNT |
Private Types | |
typedef detail::Util::Table< GroupAddress > | GroupAddressTable |
typedef detail::Util::Table< FileAddress > | FileAddressTable |
Private Member Functions | |
template<typename Sound> | |
Sound * | AllocSound (detail::SoundInstanceManager< Sound > *manager, ulong soundId, int priority, int ambientPriority, detail::BasicSound::AmbientInfo *ambientArgInfo) |
SoundStartable::StartResult | PrepareSeqImpl (detail::SeqSound *sound, SoundArchive::SoundInfo const *commonInfo, SoundArchive::SeqSoundInfo const *info, SoundStartable::StartInfo::StartOffsetType startOffsetType, int startOffset, void const *externalSeqDataAddress, char const *externalSeqStartLabel) |
SoundStartable::StartResult | PrepareStrmImpl (detail::StrmSound *sound, SoundArchive::SoundInfo const *commonInfo, SoundArchive::StrmSoundInfo const *info, SoundStartable::StartInfo::StartOffsetType startOffsetType, int startOffset) |
SoundStartable::StartResult | PrepareWaveSoundImpl (detail::WaveSound *sound, SoundArchive::SoundInfo const *commonInfo, SoundArchive::WaveSoundInfo const *info, SoundStartable::StartInfo::StartOffsetType startOffsetType, int startOffset) |
Additional Inherited Members | |
![]() | |
typedef ut::LinkList< DisposeCallback, 0x00 > | LinkList |
![]() | |
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 } |
![]() | |
ut::LinkListNode | mDisposeLink |
Definition at line 79 of file snd_SoundArchivePlayer.h.
Definition at line 88 of file snd_SoundArchivePlayer.h.
|
virtual |
Implements nw4r::snd::detail::DisposeCallback.
|
virtual |
Implements nw4r::snd::detail::DisposeCallback.
|
inlinevirtual |
Implements nw4r::snd::SoundStartable.
Definition at line 155 of file snd_SoundArchivePlayer.h.
|
virtual |
Implements nw4r::snd::SoundStartable.
|
inline |
Definition at line 174 of file snd_SoundArchivePlayer.h.
|
inline |
Definition at line 177 of file snd_SoundArchivePlayer.h.
|
inline |
Definition at line 184 of file snd_SoundArchivePlayer.h.
|
static |
Definition at line 256 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 262 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 263 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 264 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 265 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 266 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 267 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 268 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 269 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 270 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 271 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 272 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 273 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 274 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 275 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 276 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 277 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 278 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 279 of file snd_SoundArchivePlayer.h.
|
private |
Definition at line 280 of file snd_SoundArchivePlayer.h.