| 
    NSMBW-Decomp
    
   A decompilation of New Super Mario Bros. Wii 
   | 
 
Definition at line 39 of file snd_Channel.h.
Public Types | |
| enum | ChannelCallbackStatus {  CALLBACK_STATUS_STOPPED , CALLBACK_STATUS_DROP , CALLBACK_STATUS_FINISH , CALLBACK_STATUS_CANCEL }  | 
| enum | LfoTarget {  LFO_TARGET_PITCH , LFO_TARGET_VOLUME , LFO_TARGET_PAN }  | 
| typedef void | Callback(Channel *dropChannel, ChannelCallbackStatus status, ulong userData) | 
| typedef ut::LinkList< Channel, 0xd8 > | LinkList | 
Public Member Functions | |
| void | InitParam (Callback *callback, ulong callbackData) | 
| void | Start (WaveInfo const &waveParam, int length, ulong startOffset) | 
| void | Pause (bool flag) | 
| void | Stop () | 
| bool | IsRelease () const | 
| bool | IsPause () const | 
| bool | IsActive () const | 
| bool | IsAutoUpdateSweep () const | 
| f32 | GetSweepValue () const | 
| s32 | GetLength () const | 
| int | GetAlternateAssignId () const | 
| Voice * | GetVoice () const | 
| Channel * | GetNextTrackChannel () const | 
| void | SetDecay (int decay) | 
| void | SetRelease (int release) | 
| void | SetAttack (int attack) | 
| void | SetSustain (int sustain) | 
| void | SetHold (int hold) | 
| void | SetLfoParam (LfoParam const ¶m) | 
| void | SetLfoTarget (LfoTarget type) | 
| void | SetReleasePriorityFix (bool fix) | 
| void | SetReleaseIgnore (bool ignore) | 
| void | SetBiquadFilter (int type, f32 value) | 
| void | SetRemoteFilter (int filter) | 
| void | SetUserVolume (f32 volume) | 
| void | SetUserPitchRatio (f32 pitchRatio) | 
| void | SetUserPan (f32 pan) | 
| void | SetUserSurroundPan (f32 surroundPan) | 
| void | SetRemoteOutVolume (int channel, f32 volume) | 
| void | SetUserLpfFreq (f32 lpfFreq) | 
| void | SetOutputLine (int lineFlag) | 
| void | SetMainOutVolume (f32 volume) | 
| void | SetMainSend (f32 send) | 
| void | SetFxSend (AuxBus bus, f32 send) | 
| void | SetUserPitch (f32 pitch) | 
| void | SetSweepParam (f32 sweepPitch, int sweepTime, bool autoUpdate) | 
| void | SetInitVolume (f32 volume) | 
| void | SetInitPan (f32 pan) | 
| void | SetInitSurroundPan (f32 surroundPan) | 
| void | SetTune (f32 tune) | 
| void | SetSilence (bool silenceFlag, int fadeTimes) | 
| void | SetKey (int key) | 
| void | SetOriginalKey (int key) | 
| void | SetLength (s32 length) | 
| void | SetPanMode (PanMode panMode) | 
| void | SetPanCurve (PanCurve panCurve) | 
| void | SetAlternateAssignId (int id) | 
| void | SetWaveDataLocationCallback (WaveDataLocationCallback *callback, WaveInfo const *waveInfo) | 
| void | SetVoiceOutParam (int index, VoiceOutParam const ¶m) | 
| void | SetNextTrackChannel (Channel *channel) | 
| void | Update (bool doPeriodicProc) | 
| void | UpdateSweep (int count) | 
| void | Release () | 
| void | NoteOff () | 
Static Public Member Functions | |
| static Channel * | AllocChannel (int voiceChannelCount, int voiceOutCount, int priority, Callback *callback, ulong callbackData) | 
| static void | FreeChannel (Channel *channel) | 
Public Attributes | |
| ut::LinkListNode | mLink | 
Static Public Attributes | |
| static u8 const | SILENCE_VOLUME_MIN = 0 | 
| static u8 const | SILENCE_VOLUME_MAX = 255 | 
| static int const | ORIGINAL_KEY_INIT = 60 | 
| static int const | KEY_INIT = 60 | 
| static int const | PRIORITY_RELEASE = 1 | 
| static int const | CHANNEL_MAX = Voice::CHANNEL_MAX | 
| static int const | CHANNEL_MIN = 1 | 
| static int const | CHANNEL_NUM | 
Static Private Member Functions | |
| static void | VoiceCallbackFunc (Voice *voice, Voice::VoiceCallbackStatus status, void *arg) | 
Private Attributes | |
| EnvGenerator | mEnvelope | 
| Lfo | mLfo | 
| u8 | mLfoTarget | 
| bool | mPauseFlag | 
| bool | mActiveFlag | 
| bool | mAllocFlag | 
| bool | mAutoSweep | 
| bool | mReleasePriorityFixFlag | 
| u8 | mReleaseIgnoreFlag | 
| u8 | mBiquadType | 
| u8 | mRemoteFilter | 
| f32 | mUserVolume | 
| f32 | mUserPitchRatio | 
| f32 | mUserPan | 
| f32 | mUserSurroundPan | 
| f32 | mUserLpfFreq | 
| f32 | mBiquadValue | 
| int | mOutputLineFlag | 
| f32 | mMainOutVolume | 
| f32 | mMainSend | 
| f32 | mFxSend [AUX_BUS_NUM] | 
| f32 | mRemoteOutVolume [4] | 
| f32 | mUserPitch | 
| f32 | mSweepPitch | 
| s32 | mSweepCounter | 
| s32 | mSweepLength | 
| f32 | mInitVolume | 
| f32 | mInitPan | 
| f32 | mInitSurroundPan | 
| f32 | mTune | 
| MoveValue< u8, u16 > | mSilenceVolume | 
| int | mKey | 
| int | mOriginalKey | 
| s32 | mLength | 
| PanMode | mPanMode | 
| PanCurve | mPanCurve | 
| int | mAlternateAssign | 
| Callback * | mCallback | 
| ulong | mCallbackData | 
| WaveDataLocationCallback * | mWaveDataLocationCallback | 
| WaveInfo const * | mWaveInfo | 
| Voice * | mVoice | 
| Channel * | mNextLink | 
| typedef void nw4r::snd::detail::Channel::Callback(Channel *dropChannel, ChannelCallbackStatus status, ulong userData) | 
Definition at line 62 of file snd_Channel.h.
| typedef ut::LinkList<Channel, 0xd8> nw4r::snd::detail::Channel::LinkList | 
Definition at line 66 of file snd_Channel.h.
| enum nw4r::snd::detail::Channel::ChannelCallbackStatus | 
Definition at line 44 of file snd_Channel.h.
| enum nw4r::snd::detail::Channel::LfoTarget | 
Definition at line 53 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 80 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 87 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 91 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 92 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 93 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 95 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 96 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 97 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 98 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 100 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 101 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 102 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 103 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 104 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 105 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 106 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 107 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 108 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 110 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 111 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 112 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 113 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 114 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 118 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 122 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 123 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 124 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 125 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 126 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 127 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 129 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 130 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 131 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 135 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 136 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 144 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 145 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 146 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 147 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 148 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 149 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 150 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 156 of file snd_Channel.h.
      
  | 
  inline | 
Definition at line 160 of file snd_Channel.h.
      
  | 
  static | 
Definition at line 179 of file snd_Channel.h.
      
  | 
  static | 
Definition at line 180 of file snd_Channel.h.
      
  | 
  static | 
Definition at line 182 of file snd_Channel.h.
      
  | 
  static | 
Definition at line 183 of file snd_Channel.h.
      
  | 
  static | 
Definition at line 185 of file snd_Channel.h.
      
  | 
  static | 
Definition at line 187 of file snd_Channel.h.
      
  | 
  static | 
Definition at line 188 of file snd_Channel.h.
      
  | 
  static | 
Definition at line 189 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 193 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 194 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 195 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 196 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 197 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 198 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 199 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 200 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 201 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 202 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 203 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 205 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 206 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 207 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 208 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 209 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 210 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 211 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 212 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 213 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 214 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 215 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 216 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 217 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 218 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 219 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 220 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 221 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 222 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 223 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 224 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 226 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 227 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 228 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 229 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 230 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 231 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 232 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 233 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 234 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 235 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 236 of file snd_Channel.h.
      
  | 
  private | 
Definition at line 237 of file snd_Channel.h.
| ut::LinkListNode nw4r::snd::detail::Channel::mLink | 
Definition at line 239 of file snd_Channel.h.