NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::snd::SoundSystem Class Reference

Description

Definition at line 23 of file snd_SoundSystem.h.

Classes

struct  SoundSystemParam
 

Static Public Member Functions

static void InitSoundSystem (s32 sndThreadPriority, s32 dvdThreadPriority)
 
static void InitSoundSystem (SoundSystemParam const &param, void *workMem, ulong workMemSize)
 
static void ShutdownSoundSystem ()
 
static void WaitForResetReady ()
 
static bool IsInitializedSoundSystem ()
 
static ulong GetRequiredMemSize (SoundSystemParam const &param)
 
static void PrepareReset ()
 
static void SetOutputMode (OutputMode mode)
 
static f32 GetMasterVolume ()
 
static void SetMasterVolume (f32 volume, int frame)
 
static RemoteSpeakerGetRemoteSpeaker (int i)
 
static void AppendEffect (AuxBus bus, FxBase *pFx)
 
static void ClearEffect (AuxBus bus, int frame)
 

Static Private Attributes

static int const DEFAULT_DVD_THREAD_STACK_SIZE = 0x4000
 
static int const DEFAULT_SOUND_THREAD_STACK_SIZE = 0x4000
 
static int const DEFAULT_DVD_THREAD_PRIORITY = 3
 
static int const DEFAULT_SOUND_THREAD_PRIORITY = 4
 
static int sMaxVoices
 
static detail::TaskThread sTaskThread
 

Member Function Documentation

◆ PrepareReset()

static void nw4r::snd::SoundSystem::PrepareReset ( )
inlinestatic

Definition at line 71 of file snd_SoundSystem.h.

◆ SetOutputMode()

static void nw4r::snd::SoundSystem::SetOutputMode ( OutputMode mode)
inlinestatic

Definition at line 76 of file snd_SoundSystem.h.

◆ GetMasterVolume()

static f32 nw4r::snd::SoundSystem::GetMasterVolume ( )
inlinestatic

Definition at line 81 of file snd_SoundSystem.h.

◆ SetMasterVolume()

static void nw4r::snd::SoundSystem::SetMasterVolume ( f32 volume,
int frame )
inlinestatic

Definition at line 84 of file snd_SoundSystem.h.

◆ GetRemoteSpeaker()

static RemoteSpeaker & nw4r::snd::SoundSystem::GetRemoteSpeaker ( int i)
inlinestatic

Definition at line 89 of file snd_SoundSystem.h.

◆ AppendEffect()

static void nw4r::snd::SoundSystem::AppendEffect ( AuxBus bus,
FxBase * pFx )
inlinestatic

Definition at line 94 of file snd_SoundSystem.h.

◆ ClearEffect()

static void nw4r::snd::SoundSystem::ClearEffect ( AuxBus bus,
int frame )
inlinestatic

Definition at line 97 of file snd_SoundSystem.h.

Member Data Documentation

◆ DEFAULT_DVD_THREAD_STACK_SIZE

int const nw4r::snd::SoundSystem::DEFAULT_DVD_THREAD_STACK_SIZE = 0x4000
staticprivate

Definition at line 51 of file snd_SoundSystem.h.

◆ DEFAULT_SOUND_THREAD_STACK_SIZE

int const nw4r::snd::SoundSystem::DEFAULT_SOUND_THREAD_STACK_SIZE = 0x4000
staticprivate

Definition at line 52 of file snd_SoundSystem.h.

◆ DEFAULT_DVD_THREAD_PRIORITY

int const nw4r::snd::SoundSystem::DEFAULT_DVD_THREAD_PRIORITY = 3
staticprivate

Definition at line 53 of file snd_SoundSystem.h.

◆ DEFAULT_SOUND_THREAD_PRIORITY

int const nw4r::snd::SoundSystem::DEFAULT_SOUND_THREAD_PRIORITY = 4
staticprivate

Definition at line 54 of file snd_SoundSystem.h.

◆ sMaxVoices

int nw4r::snd::SoundSystem::sMaxVoices
staticprivate

Definition at line 56 of file snd_SoundSystem.h.

◆ sTaskThread

detail::TaskThread nw4r::snd::SoundSystem::sTaskThread
staticprivate

Definition at line 57 of file snd_SoundSystem.h.