1
0
mirror of https://github.com/blawar/ooot.git synced 2024-07-04 18:13:37 +00:00
ooot/include/audiomgr.h

34 lines
859 B
C
Raw Normal View History

2021-12-27 19:23:03 +00:00
#pragma once
#include "ultra64/sched.h"
2021-12-27 19:23:03 +00:00
#include "z64math.h"
2022-02-21 16:30:28 +00:00
struct AudioTask;
2022-02-12 19:50:06 +00:00
struct SoundSource {
2021-12-27 19:23:03 +00:00
/* 0x00 */ u16 countdown;
/* 0x04 */ Vec3f originPos;
/* 0x10 */ Vec3f relativePos;
2022-02-12 19:50:06 +00:00
}; // size = 0x1C
2021-12-27 19:23:03 +00:00
2022-02-12 19:50:06 +00:00
struct AudioMgr {
2021-12-27 19:23:03 +00:00
/* 0x0000 */ IrqMgr* irqMgr;
/* 0x0004 */ SchedContext* sched;
/* 0x0008 */ OSScTask audioTask;
/* 0x0060 */ char unk_60[0x10];
/* 0x0070 */ AudioTask* rspTask;
/* 0x0074 */ OSMesgQueue unk_74;
/* 0x008C */ OSMesg unk_8C;
/* 0x0090 */ OSMesgQueue unk_90;
/* 0x00A8 */ OSMesg unk_A8;
/* 0x00AC */ OSMesgQueue unk_AC;
/* 0x00C4 */ OSMesg unk_C4;
/* 0x00C8 */ OSMesgQueue unk_C8;
/* 0x00E0 */ OSMesg unk_E0;
/* 0x00E4 */ char unk_E4[0x04];
/* 0x00E8 */ OSThread unk_E8;
2022-02-12 19:50:06 +00:00
}; // size = 0x298
2021-12-27 19:23:03 +00:00
2022-02-28 00:38:15 +00:00
extern Vec3f gAudioDefaultPos;
2021-12-27 19:23:03 +00:00
extern f32 D_801333E0;
2022-02-27 23:01:16 +00:00
extern s8 gReverbAdd2;