| 
    NSMBW-Decomp
    
   A decompilation of New Super Mario Bros. Wii 
   | 
 
Definition at line 149 of file snd_AxVoice.h.
Classes | |
| struct | MixParam | 
| struct | RemoteMixParam | 
Public Types | |
| enum | AxVoiceCallbackStatus {  CALLBACK_STATUS_CANCEL , CALLBACK_STATUS_DROP_DSP }  | 
| enum | VoiceType {  VOICE_TYPE_NORMAL , VOICE_TYPE_STREAM }  | 
| enum | SrcType {  SRC_NONE , SRC_LINEAR , SRC_4TAP_8K , SRC_4TAP_12K , SRC_4TAP_16K , SRC_4TAP_AUTO }  | 
| typedef ut::LinkList< AxVoice, 0x40 > | LinkList | 
| typedef void | Callback(AxVoice *dropVoice, AxVoiceCallbackStatus status, void *callbackData) | 
Public Member Functions | |
| void | Setup (void const *waveAddr, SampleFormat format, int sampleRate) | 
| SampleFormat | GetFormat () const | 
| ulong | GetCurrentPlayingSample () const | 
| ulong | GetCurrentPlayingDspAddress () const | 
| ulong | GetLoopEndDspAddress () const | 
| f32 | GetDspRatio (f32 ratio) const | 
| void | SetLoopStart (void const *baseAddress, ulong samples) | 
| void | SetLoopEnd (void const *baseAddress, ulong samples) | 
| void | SetLoopFlag (bool loopFlag) | 
| void | SetPriority (ulong priority) | 
| void | SetVoiceType (VoiceType type) | 
| void | EnableRemote (bool enable) | 
| void | ResetDelta () | 
| void | SetAddr (bool loopFlag, void const *waveAddr, ulong startOffset, ulong loopStart, ulong loopEnd) | 
| void | SetSrcType (SrcType type, f32 pitch) | 
| void | SetAdpcm (AdpcmParam const *param) | 
| void | SetAdpcmLoop (AdpcmLoopParam const *param) | 
| bool | SetMix (MixParam const ¶m) | 
| void | SetRmtMix (const RemoteMixParam ¶m) | 
| void | SetSrc (f32 ratio, bool initialUpdate) | 
| void | SetVe (f32 volume, f32 initVolume) | 
| void | SetLpf (u16 freq) | 
| void | SetBiquad (u8 filterType, f32 value) | 
| void | SetRemoteFilter (u8 filter) | 
| bool | IsDataAddressCoverd (void const *beginAddress, void const *endAddress) const | 
| bool | IsNeedNextUpdate (MixParam const ¶m) const | 
| bool | IsPlayFinished () const | 
| void | Run () | 
| bool | IsRun () const | 
| void | Stop () | 
| void | StopAtPoint (void const *baseAddress, ulong samples) | 
| void | Sync () | 
Static Public Member Functions | |
| static ulong | GetDspAddressBySample (void const *baseAddress, ulong samples, SampleFormat format) | 
| static ulong | GetSampleByDspAddress (void const *baseAddress, ulong addr, SampleFormat format) | 
| static u16 | GetAxFormatFromSampleFormat (SampleFormat sampleFormat) | 
| static void | CalcOffsetAdpcmParam (u16 *outPredScale, u16 *outYn1, u16 *outYn2, ulong offset, const void *dataAddr, AdpcmParam const &adpcmParam) | 
Public Attributes | |
| ut::LinkListNode | node | 
Static Public Attributes | |
| static u16 const | VOICE_GAIN_MAX | 
Static Private Member Functions | |
| static void | VoiceCallback (void *callbackData) | 
Private Attributes | |
| AxVoiceParamBlock | mVpb | 
| void const * | mWaveData | 
| SampleFormat | mFormat | 
| int | mSampleRate | 
| bool | mFirstMixUpdateFlag | 
| bool | mReserveForFreeFlag | 
| MixParam | mMixPrev | 
| Callback * | mCallback | 
| void * | mCallbackData | 
| typedef ut::LinkList<AxVoice, 0x40> nw4r::snd::detail::AxVoice::LinkList | 
Definition at line 180 of file snd_AxVoice.h.
| typedef void nw4r::snd::detail::AxVoice::Callback(AxVoice *dropVoice, AxVoiceCallbackStatus status, void *callbackData) | 
Definition at line 182 of file snd_AxVoice.h.
| enum nw4r::snd::detail::AxVoice::AxVoiceCallbackStatus | 
Definition at line 154 of file snd_AxVoice.h.
| enum nw4r::snd::detail::AxVoice::VoiceType | 
Definition at line 161 of file snd_AxVoice.h.
| enum nw4r::snd::detail::AxVoice::SrcType | 
Definition at line 168 of file snd_AxVoice.h.
      
  | 
  inline | 
Definition at line 226 of file snd_AxVoice.h.
      
  | 
  inline | 
Definition at line 230 of file snd_AxVoice.h.
      
  | 
  inline | 
Definition at line 261 of file snd_AxVoice.h.
      
  | 
  inline | 
Definition at line 262 of file snd_AxVoice.h.
      
  | 
  inline | 
Definition at line 263 of file snd_AxVoice.h.
      
  | 
  inline | 
Definition at line 265 of file snd_AxVoice.h.
      
  | 
  static | 
Definition at line 285 of file snd_AxVoice.h.
      
  | 
  private | 
Definition at line 289 of file snd_AxVoice.h.
      
  | 
  private | 
Definition at line 290 of file snd_AxVoice.h.
      
  | 
  private | 
Definition at line 291 of file snd_AxVoice.h.
      
  | 
  private | 
Definition at line 292 of file snd_AxVoice.h.
      
  | 
  private | 
Definition at line 293 of file snd_AxVoice.h.
      
  | 
  private | 
Definition at line 294 of file snd_AxVoice.h.
      
  | 
  private | 
Definition at line 296 of file snd_AxVoice.h.
      
  | 
  private | 
Definition at line 297 of file snd_AxVoice.h.
      
  | 
  private | 
Definition at line 298 of file snd_AxVoice.h.
| ut::LinkListNode nw4r::snd::detail::AxVoice::node | 
Definition at line 300 of file snd_AxVoice.h.