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

Description

Definition at line 12 of file snd_RemoteSpeakerManager.h.

Public Member Functions

RemoteSpeakerGetRemoteSpeaker (int i)
 
void Setup ()
 
void Shutdown ()
 

Static Public Member Functions

static RemoteSpeakerManagerGetInstance ()
 

Static Private Member Functions

static void RemoteSpeakerAlarmProc (OSAlarm *pAlarm, OSContext *pCtx)
 

Private Attributes

bool mInitialized
 
OSAlarm mRemoteSpeakerAlarm
 
RemoteSpeaker mSpeaker [WPAD_MAX_CONTROLLERS]
 

Static Private Attributes

static const int SPEAKER_ALARM_HZ = 150
 
static const int SPEAKER_ALARM_PERIOD_NSEC = 6666667
 

Member Data Documentation

◆ SPEAKER_ALARM_HZ

const int nw4r::snd::detail::RemoteSpeakerManager::SPEAKER_ALARM_HZ = 150
staticprivate

Definition at line 22 of file snd_RemoteSpeakerManager.h.

◆ SPEAKER_ALARM_PERIOD_NSEC

const int nw4r::snd::detail::RemoteSpeakerManager::SPEAKER_ALARM_PERIOD_NSEC = 6666667
staticprivate

Definition at line 26 of file snd_RemoteSpeakerManager.h.

◆ mInitialized

bool nw4r::snd::detail::RemoteSpeakerManager::mInitialized
private

Definition at line 33 of file snd_RemoteSpeakerManager.h.

◆ mRemoteSpeakerAlarm

OSAlarm nw4r::snd::detail::RemoteSpeakerManager::mRemoteSpeakerAlarm
private

Definition at line 34 of file snd_RemoteSpeakerManager.h.

◆ mSpeaker

RemoteSpeaker nw4r::snd::detail::RemoteSpeakerManager::mSpeaker[WPAD_MAX_CONTROLLERS]
private

Definition at line 35 of file snd_RemoteSpeakerManager.h.