mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
Z2AudioMgr / various JAudio setup (#152)
* audioMgr setup * bunch of JAudio setup
This commit is contained in:
@@ -1,92 +1,17 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: JAISoundChild
|
||||
//
|
||||
|
||||
#include "JSystem/JAudio2/JAISoundChild.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
// Types:
|
||||
//
|
||||
|
||||
struct JASSoundParams {};
|
||||
|
||||
struct JASTrack {
|
||||
/* 802919F4 */ void assignExtBuffer(u32, JASSoundParams*);
|
||||
};
|
||||
|
||||
struct JAISoundChild {
|
||||
/* 802A2AB0 */ void init();
|
||||
/* 802A2B28 */ void mixOut(JASTrack*);
|
||||
/* 802A2B7C */ void calc();
|
||||
};
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
|
||||
extern "C" void init__13JAISoundChildFv();
|
||||
extern "C" void mixOut__13JAISoundChildFP8JASTrack();
|
||||
extern "C" void calc__13JAISoundChildFv();
|
||||
|
||||
//
|
||||
// External References:
|
||||
//
|
||||
|
||||
extern "C" void assignExtBuffer__8JASTrackFUlP14JASSoundParams();
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
//
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 804557D8-804557DC 003DD8 0004+00 1/1 0/0 0/0 .sdata2 @689 */
|
||||
SECTION_SDATA2 static f32 lit_689 = 1.0f;
|
||||
|
||||
/* 804557DC-804557E0 003DDC 0004+00 1/1 0/0 0/0 .sdata2 @690 */
|
||||
SECTION_SDATA2 static u8 lit_690[4] = {
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
};
|
||||
|
||||
/* 804557E0-804557E8 003DE0 0004+04 1/1 0/0 0/0 .sdata2 @691 */
|
||||
SECTION_SDATA2 static f32 lit_691[1 + 1 /* padding */] = {
|
||||
0.5f,
|
||||
/* padding */
|
||||
0.0f,
|
||||
};
|
||||
|
||||
/* 802A2AB0-802A2B28 29D3F0 0078+00 0/0 2/2 0/0 .text init__13JAISoundChildFv */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void JAISoundChild::init() {
|
||||
nofralloc
|
||||
#include "asm/JSystem/JAudio2/JAISoundChild/init__13JAISoundChildFv.s"
|
||||
void JAISoundChild::init() {
|
||||
mMove.init();
|
||||
mParams.init();
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 802A2B28-802A2B7C 29D468 0054+00 0/0 1/1 0/0 .text mixOut__13JAISoundChildFP8JASTrack
|
||||
*/
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void JAISoundChild::mixOut(JASTrack* param_0) {
|
||||
nofralloc
|
||||
#include "asm/JSystem/JAudio2/JAISoundChild/mixOut__13JAISoundChildFP8JASTrack.s"
|
||||
void JAISoundChild::mixOut(JASTrack* pTrack) {
|
||||
mParams = mMove.mParams;
|
||||
pTrack->assignExtBuffer(0, &mParams);
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
/* 802A2B7C-802A2C98 29D4BC 011C+00 0/0 2/2 0/0 .text calc__13JAISoundChildFv */
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void JAISoundChild::calc() {
|
||||
nofralloc
|
||||
#include "asm/JSystem/JAudio2/JAISoundChild/calc__13JAISoundChildFv.s"
|
||||
void JAISoundChild::calc() {
|
||||
mMove.calc();
|
||||
}
|
||||
#pragma pop
|
||||
|
||||
Reference in New Issue
Block a user