Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
Z2SoundMgr.h
Go to the documentation of this file.
1#ifndef Z2SOUNDMGR_H
2#define Z2SOUNDMGR_H
3
7
8u16 seqCallback(JASTrack* track, u16 command);
9
10class Z2SoundMgr : public JASGlobalInstance<Z2SoundMgr> {
11public:
12 Z2SoundMgr();
13 void calc();
14 void setIIR(JAISound* sound, const s16* iir);
15 void setFilterOff(JAISound* sound);
16 void resetFilterAll();
17 void mixOut();
18 void framework();
19 void pauseAllGameSound(bool paused);
20 void stopSoundID(JAISoundID soundID);
21 void stopSync();
22 void stop();
23 void initParams();
24 void multiVolumeSoundID(JAISoundID soundID, f32 volume);
25 bool isPlayingSoundID(JAISoundID soundID);
26
27 virtual bool startSound(JAISoundID soundID, JAISoundHandle* handle, const JGeometry::TVec3<f32>* posPtr);
28
29 JAISeMgr* getSeMgr() { return &seMgr_; }
30 const JAISeMgr* getSeMgr() const { return &seMgr_; }
31 JAISeqMgr* getSeqMgr() { return &seqMgr_; }
32 const JAISeqMgr* getSeqMgr() const { return &seqMgr_; }
34
35private:
36 /* 0x004 */ JAISeMgr seMgr_;
37 /* 0x728 */ JAISeqMgr seqMgr_;
39 /* 0x80C */ JAISoundID soundID_;
40}; // Size: 0x810
41
42#if VERSION != VERSION_SHIELD_DEBUG
43STATIC_ASSERT(sizeof(Z2SoundMgr) == 0x810);
44#endif
45
49
50#endif /* Z2SOUNDMGR_H */
Z2SoundMgr * Z2GetSoundMgr()
Definition Z2SoundMgr.h:46
u16 seqCallback(JASTrack *track, u16 command)
Definition Z2SoundMgr.cpp:14
STATIC_ASSERT(sizeof(Z2SoundMgr)==0x810)
Definition JAISeMgr.h:92
Definition JAISeqMgr.h:15
Definition JAISoundHandles.h:14
Definition JAISound.h:13
Definition JAISound.h:234
Definition JAIStreamMgr.h:15
Definition JASGadget.h:12
static T * getInstance()
Definition JASGadget.h:31
Definition Z2SoundMgr.h:10
void calc()
Definition Z2SoundMgr.cpp:184
virtual bool startSound(JAISoundID soundID, JAISoundHandle *handle, const JGeometry::TVec3< f32 > *posPtr)
Definition Z2SoundMgr.cpp:112
void setFilterOff(JAISound *sound)
Definition Z2SoundMgr.cpp:219
JAISeMgr * getSeMgr()
Definition Z2SoundMgr.h:29
JAISeqMgr seqMgr_
Definition Z2SoundMgr.h:37
void mixOut()
Definition Z2SoundMgr.cpp:267
void stopSoundID(JAISoundID soundID)
Definition Z2SoundMgr.cpp:330
const JAISeMgr * getSeMgr() const
Definition Z2SoundMgr.h:30
JAIStreamMgr * getStreamMgr()
Definition Z2SoundMgr.h:33
void framework()
Definition Z2SoundMgr.cpp:300
JAISeMgr seMgr_
Definition Z2SoundMgr.h:36
const JAISeqMgr * getSeqMgr() const
Definition Z2SoundMgr.h:32
void pauseAllGameSound(bool paused)
Definition Z2SoundMgr.cpp:305
void setIIR(JAISound *sound, const s16 *iir)
Definition Z2SoundMgr.cpp:196
JAISoundID soundID_
Definition Z2SoundMgr.h:39
void resetFilterAll()
Definition Z2SoundMgr.cpp:240
JAIStreamMgr streamMgr_
Definition Z2SoundMgr.h:38
Z2SoundMgr()
Definition Z2SoundMgr.cpp:103
bool isPlayingSoundID(JAISoundID soundID)
Definition Z2SoundMgr.cpp:374
void stop()
Definition Z2SoundMgr.cpp:348
void multiVolumeSoundID(JAISoundID soundID, f32 volume)
Definition Z2SoundMgr.cpp:363
JAISeqMgr * getSeqMgr()
Definition Z2SoundMgr.h:31
void stopSync()
Definition Z2SoundMgr.cpp:336
void initParams()
Definition Z2SoundMgr.cpp:354
signed short int s16
Definition types.h:9
float f32
Definition types.h:25
unsigned short int u16
Definition types.h:10
Definition JASTrack.h:24
Definition JGeometry.h:70