NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 37 of file snd_SeqSound.h.
Classes | |
class | SeqLoadTask |
Public Types | |
typedef ut::LinkList< SeqSound, 0xf0 > | PriorityLinkList |
![]() | |
enum | PauseState { PAUSE_STATE_NORMAL , PAUSE_STATE_PAUSING , PAUSE_STATE_PAUSED , PAUSE_STATE_UNPAUSING } |
typedef ut::LinkList< BasicSound, 0xf0 > | PriorityLinkList |
typedef ut::LinkList< BasicSound, 0xf8 > | SoundPlayerPlayLinkList |
typedef ut::LinkList< BasicSound, 0x100 > | SoundPlayerPriorityLinkList |
typedef ut::LinkList< BasicSound, 0x108 > | ExtSoundPlayerPlayLinkList |
Public Member Functions | |
SeqSound (SoundInstanceManager< SeqSound > *manager, int priority, int ambientPriority) | |
virtual ut::detail::RuntimeTypeInfo const * | GetRuntimeTypeInfo () const |
virtual void | Shutdown () |
virtual bool | IsPrepared () const |
virtual bool | IsAttachedTempSpecialHandle () |
virtual void | DetachTempSpecialHandle () |
virtual void | InitParam () |
virtual BasicPlayer & | GetBasicPlayer () |
virtual BasicPlayer const & | GetBasicPlayer () const |
virtual void | OnUpdatePlayerPriority () |
SeqPlayer::SetupResult | Setup (SeqTrackAllocator *trackAllocator, ulong allocTracks, NoteOnCallback *callback) |
void | Prepare (void const *seqBase, s32 seqOffset, SeqPlayer::OffsetType startOffsetType, int startOffset) |
void | Prepare (ut::FileStream *fileStream, s32 seqOffset, SeqPlayer::OffsetType startOffsetType, int startOffset) |
void * | GetFileStreamBuffer () |
s32 | GetFileStreamBufferSize () |
void | SetReleasePriorityFix (bool fix) |
void | SetTempoRatio (f32 tempo) |
void | SetChannelPriority (int priority) |
void | SetSeqUserprocCallback (SeqPlayer::SeqUserprocCallback *callback, void *arg) |
void | Skip (SeqPlayer::OffsetType offsetType, int offset) |
bool | LoadData (SeqLoadTask::Callback *callback, void *callbackArg) |
void | SetTrackMute (ulong trackFlags, SeqMute mute) |
void | SetTrackSilence (ulong trackFlags, bool silence, int fadeFrames) |
void | SetTrackVolume (ulong trackFlags, f32 volume) |
bool | ReadVariable (int varNo, s16 *value) const |
bool | WriteVariable (int varNo, s16 value) |
bool | WriteTrackVariable (int trackNo, int varNo, s16 value) |
ulong | GetTick () const |
![]() | |
BasicSound (int priority, int ambientPriority) | |
virtual void | UpdateMoveValue () |
virtual void | UpdateParam () |
void | StartPrepared () |
void | Update () |
void | Pause (bool flag, int fadeFrames) |
bool | IsPause () const |
void | Stop (int fadeFrames) |
void | SetAutoStopCounter (int count) |
void | FadeIn (int fadeFrames) |
bool | GetStartedFlag () const |
ulong | GetId () const |
PlayerHeap * | GetPlayerHeap () |
SoundPlayer * | GetSoundPlayer () |
int | GetVoiceOutCount () const |
int | GetPriority () const |
void | SetPlayerPriority (int priority) |
void | SetInitialVolume (f32 volume) |
void | SetVolume (f32 volume, int frames) |
void | SetPitch (f32 pitch) |
void | SetPan (f32 pan) |
void | SetSurroundPan (f32 pan) |
void | SetLpfFreq (f32 freq) |
void | SetFxSend (AuxBus bus, f32 send) |
void | SetRemoteFilter (int filter) |
void | SetPanMode (PanMode mode) |
void | SetPanCurve (PanCurve curve) |
void | SetAmbientInfo (AmbientInfo const &ambientArgInfo) |
void | SetId (ulong id) |
void | SetOutputLineFlag (int flag) |
void | AttachPlayerHeap (PlayerHeap *heap) |
void | AttachSoundPlayer (SoundPlayer *player) |
void | AttachSoundActor (SoundActor *actor) |
void | AttachExternalSoundPlayer (ExternalSoundPlayer *extPlayer) |
bool | IsAttachedGeneralHandle () |
bool | IsAttachedTempGeneralHandle () |
void | DetachPlayerHeap (PlayerHeap *heap) |
void | DetachSoundPlayer (SoundPlayer *player) |
void | DetachSoundActor (SoundActor *actor) |
void | DetachExternalSoundPlayer (ExternalSoundPlayer *extPlayer) |
void | DetachGeneralHandle () |
void | DetachTempGeneralHandle () |
int | GetRemainingFadeFrames () const |
int | CalcCurrentPlayerPriority () const |
void | ClearAmbientArgUpdateCallback () |
Static Public Member Functions | |
static void | NotifyLoadAsyncEndSeqData (bool result, void const *seqBase, void *userData) |
static bool | WriteGlobalVariable (int varNo, s16 value) |
static DebugSoundType | GetSoundType () |
![]() | |
static int | GetAmbientPriority (AmbientInfo const &ambientInfo, ulong soundId) |
Static Public Attributes | |
static int const | FILE_STREAM_BUFFER_SIZE = 128 |
static ut::detail::RuntimeTypeInfo const | typeInfo |
![]() | |
static ulong const | INVALID_ID = -1 |
static int const | PRIORITY_MAX = 127 |
static int const | PRIORITY_MIN = 0 |
static ut::detail::RuntimeTypeInfo const | typeInfo |
Private Attributes | |
SeqPlayer | mSeqPlayer |
SeqSoundHandle * | mTempSpecialHandle |
SoundInstanceManager< SeqSound > * | mManager |
s32 | mSeqOffset |
SeqPlayer::OffsetType | mStartOffsetType |
int | mStartOffset |
bool volatile | mLoadingFlag |
bool volatile | mPreparedFlag |
ut::FileStream * | mFileStream |
int | mFileStreamBuffer [FILE_STREAM_BUFFER_SIZE] |
SeqLoadTask | mSeqLoadTask |
Additional Inherited Members | |
![]() | |
ut::LinkListNode | mPriorityLink |
ut::LinkListNode | mSoundPlayerPlayLink |
ut::LinkListNode | mSoundPlayerPriorityLink |
ut::LinkListNode | mExtSoundPlayerPlayLink |
typedef ut::LinkList<SeqSound, 0xf0> nw4r::snd::detail::SeqSound::PriorityLinkList |
Definition at line 44 of file snd_SeqSound.h.
|
inlinevirtual |
Reimplemented from nw4r::snd::detail::BasicSound.
Definition at line 85 of file snd_SeqSound.h.
|
virtual |
Reimplemented from nw4r::snd::detail::BasicSound.
|
inlinevirtual |
Implements nw4r::snd::detail::BasicSound.
Definition at line 90 of file snd_SeqSound.h.
|
virtual |
Implements nw4r::snd::detail::BasicSound.
|
virtual |
Implements nw4r::snd::detail::BasicSound.
|
virtual |
Reimplemented from nw4r::snd::detail::BasicSound.
|
inlinevirtual |
Implements nw4r::snd::detail::BasicSound.
Definition at line 94 of file snd_SeqSound.h.
|
inlinevirtual |
Implements nw4r::snd::detail::BasicSound.
Definition at line 95 of file snd_SeqSound.h.
|
virtual |
Reimplemented from nw4r::snd::detail::BasicSound.
|
inline |
Definition at line 107 of file snd_SeqSound.h.
|
inline |
Definition at line 108 of file snd_SeqSound.h.
|
inlinestatic |
Definition at line 133 of file snd_SeqSound.h.
|
static |
Definition at line 140 of file snd_SeqSound.h.
|
static |
Definition at line 142 of file snd_SeqSound.h.
|
private |
Definition at line 147 of file snd_SeqSound.h.
|
private |
Definition at line 148 of file snd_SeqSound.h.
|
private |
Definition at line 149 of file snd_SeqSound.h.
|
private |
Definition at line 150 of file snd_SeqSound.h.
|
private |
Definition at line 151 of file snd_SeqSound.h.
|
private |
Definition at line 152 of file snd_SeqSound.h.
|
private |
Definition at line 153 of file snd_SeqSound.h.
|
private |
Definition at line 154 of file snd_SeqSound.h.
|
private |
Definition at line 156 of file snd_SeqSound.h.
|
private |
Definition at line 157 of file snd_SeqSound.h.
|
private |
Definition at line 158 of file snd_SeqSound.h.