SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
SpkSpeakerCtrl Class Reference

Static Public Member Functions

static void setMixingBuffer (SpkMixingBuffer *)
 
static void setup ()
 
static void connect (s32)
 
static void disconnect (s32)
 
static void setSpeakerOn (s32)
 
static void setSpeakerOnCallback (s32, s32)
 
static void setSpeakerPlay (s32)
 
static void startPlayCallback (s32, s32)
 
static void setSpeakerOff (s32)
 
static void retryConnection (s32)
 
static void reconnect (s32)
 
static void framework ()
 
static void reconnectProcess (s32)
 
static void initReconnect (s32)
 
static void continuousUsingProcess (s32)
 
static void updateSpeaker (OSAlarm *, OSContext *)
 
static bool isEnable (s32)
 
static void extensionProcess (s32, s32)
 
static f32 getDeviceVolume (s32)
 
static void initInfoDefaults (s32 idx)
 
static SpeakerInfogetSpeakerInfo (s32 idx)
 

Static Public Attributes

static SpeakerInfo sSpeakerInfo [4]
 
static SpkMixingBuffersMixingBuffer
 
static SpkSoundHandle sAdjustSoundHandle [4]
 

Detailed Description

Definition at line 24 of file SpkSpeakerCtrl.hpp.

Member Function Documentation

◆ setMixingBuffer()

void SpkSpeakerCtrl::setMixingBuffer ( SpkMixingBuffer * pMixingBuffer)
static

Definition at line 7 of file SpkSpeakerCtrl.cpp.

◆ connect()

void SpkSpeakerCtrl::connect ( s32 idx)
static

Definition at line 15 of file SpkSpeakerCtrl.cpp.

◆ setSpeakerOn()

void SpkSpeakerCtrl::setSpeakerOn ( s32 idx)
static

Definition at line 26 of file SpkSpeakerCtrl.cpp.

◆ setSpeakerOnCallback()

void SpkSpeakerCtrl::setSpeakerOnCallback ( s32 idx,
s32 a2 )
static

Definition at line 40 of file SpkSpeakerCtrl.cpp.

◆ setSpeakerPlay()

void SpkSpeakerCtrl::setSpeakerPlay ( s32 idx)
static

Definition at line 55 of file SpkSpeakerCtrl.cpp.

◆ setSpeakerOff()

void SpkSpeakerCtrl::setSpeakerOff ( s32 idx)
static

Definition at line 91 of file SpkSpeakerCtrl.cpp.

◆ retryConnection()

void SpkSpeakerCtrl::retryConnection ( s32 idx)
static

Definition at line 98 of file SpkSpeakerCtrl.cpp.

◆ reconnect()

void SpkSpeakerCtrl::reconnect ( s32 idx)
static

Definition at line 112 of file SpkSpeakerCtrl.cpp.

◆ framework()

void SpkSpeakerCtrl::framework ( )
static

Definition at line 118 of file SpkSpeakerCtrl.cpp.

◆ reconnectProcess()

void SpkSpeakerCtrl::reconnectProcess ( s32 idx)
static

Definition at line 126 of file SpkSpeakerCtrl.cpp.

◆ initReconnect()

void SpkSpeakerCtrl::initReconnect ( s32 idx)
static

Definition at line 152 of file SpkSpeakerCtrl.cpp.

◆ continuousUsingProcess()

void SpkSpeakerCtrl::continuousUsingProcess ( s32 idx)
static

Definition at line 157 of file SpkSpeakerCtrl.cpp.

◆ updateSpeaker()

void SpkSpeakerCtrl::updateSpeaker ( OSAlarm * ,
OSContext *  )
static

Definition at line 167 of file SpkSpeakerCtrl.cpp.

◆ isEnable()

bool SpkSpeakerCtrl::isEnable ( s32 idx)
static

Definition at line 207 of file SpkSpeakerCtrl.cpp.

◆ extensionProcess()

void SpkSpeakerCtrl::extensionProcess ( s32 ,
s32  )
static

Definition at line 217 of file SpkSpeakerCtrl.cpp.

◆ getDeviceVolume()

f32 SpkSpeakerCtrl::getDeviceVolume ( s32 channel)
static

Definition at line 221 of file SpkSpeakerCtrl.cpp.

◆ initInfoDefaults()

static void SpkSpeakerCtrl::initInfoDefaults ( s32 idx)
inlinestatic

Definition at line 46 of file SpkSpeakerCtrl.hpp.

◆ getSpeakerInfo()

static SpeakerInfo & SpkSpeakerCtrl::getSpeakerInfo ( s32 idx)
inlinestatic

Definition at line 50 of file SpkSpeakerCtrl.hpp.

Member Data Documentation

◆ sSpeakerInfo

SpeakerInfo SpkSpeakerCtrl::sSpeakerInfo[4]
static

Definition at line 54 of file SpkSpeakerCtrl.hpp.

◆ sMixingBuffer

SpkMixingBuffer* SpkSpeakerCtrl::sMixingBuffer
static

Definition at line 56 of file SpkSpeakerCtrl.hpp.

◆ sAdjustSoundHandle

SpkSoundHandle SpkSpeakerCtrl::sAdjustSoundHandle[4]
static

Definition at line 58 of file SpkSpeakerCtrl.hpp.