mirror of
https://github.com/zeldaret/tp
synced 2026-07-08 14:36:36 -04:00
Z2AudioMgr / various JAudio setup (#152)
* audioMgr setup * bunch of JAudio setup
This commit is contained in:
@@ -15,65 +15,15 @@ struct Z2SpeechMgr2 {
|
||||
/* 802CC190 */ void speakOneWord(bool);
|
||||
};
|
||||
|
||||
struct JGeometry {
|
||||
template <typename A1>
|
||||
struct TVec3 {};
|
||||
/* TVec3<f32> */
|
||||
struct TVec3__template0 {};
|
||||
};
|
||||
|
||||
struct JAISound {};
|
||||
|
||||
struct JAISoundID {};
|
||||
|
||||
struct JAISoundHandle {};
|
||||
|
||||
struct Z2SoundMgr {
|
||||
/* 802A9E80 */ Z2SoundMgr();
|
||||
/* 802A9EE8 */ void startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*);
|
||||
/* 802AA1B0 */ void calc();
|
||||
/* 802AA270 */ void setIIR(JAISound*, s16 const*);
|
||||
/* 802AA33C */ void setFilterOff(JAISound*);
|
||||
/* 802AA430 */ void resetFilterAll();
|
||||
/* 802AA528 */ void mixOut();
|
||||
/* 802AA67C */ void framework();
|
||||
/* 802AA6B0 */ void pauseAllGameSound(bool);
|
||||
/* 802AA7DC */ void stopSoundID(JAISoundID);
|
||||
/* 802AA84C */ void stopSync();
|
||||
/* 802AA8C8 */ void stop();
|
||||
/* 802AA908 */ void initParams();
|
||||
/* 802AA9E8 */ void multiVolumeSoundID(JAISoundID, f32);
|
||||
/* 802AAAC4 */ void isPlayingSoundID(JAISoundID);
|
||||
};
|
||||
|
||||
struct Z2SoundInfo {
|
||||
/* 802BBAC8 */ void getSwBit(JAISoundID) const;
|
||||
};
|
||||
|
||||
struct Z2SeqMgr {
|
||||
/* 802AF010 */ void bgmStart(u32, u32, s32);
|
||||
/* 802AFF8C */ void changeBgmStatus(s32);
|
||||
/* 802B299C */ void onVariantBgmJumpEnd(bool);
|
||||
/* 802B3FEC */ void setChildTrackVolume(JAISoundHandle*, int, f32, u32, f32, f32);
|
||||
/* 802B5750 */ void onFieldBgmJumpStart();
|
||||
/* 802B579C */ void onFieldBgmJumpEnd();
|
||||
};
|
||||
|
||||
struct Z2SeMgr {
|
||||
/* 802AD9F4 */ void seMoveVolumeAll(f32, u32);
|
||||
};
|
||||
|
||||
struct JAUSectionHeap {
|
||||
/* 802A5EC0 */ void loadDynamicSeq(JAISoundID, bool);
|
||||
/* 802A5EF8 */ void releaseIdleDynamicSeqDataBlock();
|
||||
};
|
||||
|
||||
struct JASTrack {
|
||||
/* 8029285C */ void setFIR(s16 const*);
|
||||
/* 8029289C */ void setIIR(s16 const*);
|
||||
/* 80292918 */ void writePort(u32, u16);
|
||||
};
|
||||
|
||||
struct JASDriver {
|
||||
/* 8029E188 */ void waitSubFrame();
|
||||
};
|
||||
@@ -82,44 +32,6 @@ struct JASCalc {
|
||||
static u8 const CUTOFF_TO_IIR_TABLE[1024];
|
||||
};
|
||||
|
||||
struct JAIStreamMgr {
|
||||
/* 802A3B68 */ JAIStreamMgr(bool);
|
||||
/* 802A3C3C */ void startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*);
|
||||
/* 802A3EBC */ void calc();
|
||||
/* 802A4028 */ void stop();
|
||||
/* 802A4068 */ void stop(u32);
|
||||
/* 802A40B8 */ void stopSoundID(JAISoundID);
|
||||
/* 802A4118 */ void mixOut();
|
||||
};
|
||||
|
||||
struct JAISoundParamsMove {
|
||||
/* 802A2DB4 */ void moveVolume(f32, u32);
|
||||
};
|
||||
|
||||
struct JAISeqMgr {
|
||||
/* 802A1914 */ JAISeqMgr(bool);
|
||||
/* 802A1B48 */ void startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*);
|
||||
/* 802A1C90 */ void calc();
|
||||
/* 802A1DFC */ void stop();
|
||||
/* 802A1E8C */ void stopSoundID(JAISoundID);
|
||||
/* 802A1EFC */ void mixOut();
|
||||
};
|
||||
|
||||
struct JAISeMgr {
|
||||
/* 802A0074 */ JAISeMgr(bool);
|
||||
/* 802A02A0 */ void stop();
|
||||
/* 802A02F4 */ void stopSoundID(JAISoundID);
|
||||
/* 802A0358 */ void initParams();
|
||||
/* 802A0574 */ void calc();
|
||||
/* 802A0704 */ void mixOut();
|
||||
/* 802A0768 */ void startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*);
|
||||
/* 802A08D0 */ void getNumActiveSe() const;
|
||||
};
|
||||
|
||||
struct JAISeCategoryMgr {
|
||||
/* 8029FEEC */ void pause(bool);
|
||||
};
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user