mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 12:59:44 +00:00
2e2b2e2c7a
* [headers] Move padmgr, scheduler symbols to respective headers * fix revealed header problems * Fix bss * review * bss * segmented_address.h --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
30 lines
850 B
C
30 lines
850 B
C
#ifndef AUDIOMGR_H
|
|
#define AUDIOMGR_H
|
|
|
|
#include "ultra64.h"
|
|
#include "unk.h"
|
|
#include "irqmgr.h"
|
|
#include "scheduler.h"
|
|
#include "z64audio.h"
|
|
|
|
typedef struct AudioMgr {
|
|
/* 0x000 */ IrqMgr* irqMgr;
|
|
/* 0x004 */ Scheduler* sched;
|
|
/* 0x008 */ OSScTask audioTask;
|
|
/* 0x060 */ AudioTask* rspTask;
|
|
/* 0x064 */ OSMesgQueue interruptQueue;
|
|
/* 0x07C */ OSMesg interruptMsgBuf[30];
|
|
/* 0x0F4 */ OSMesgQueue cmdQueue;
|
|
/* 0x10C */ OSMesg cmdMsgBuf[1];
|
|
/* 0x110 */ OSMesgQueue lockQueue;
|
|
/* 0x128 */ OSMesg lockMsgBuf[1];
|
|
/* 0x12C */ UNK_TYPE1 pad_12C[0x4];
|
|
/* 0x130 */ OSThread thread;
|
|
} AudioMgr; // size = 0x2E0
|
|
|
|
void AudioMgr_StopAllSfxExceptSystem(void);
|
|
void AudioMgr_Unlock(AudioMgr* audioMgr);
|
|
void AudioMgr_Init(AudioMgr* audioMgr, void* stack, OSPri pri, OSId id, Scheduler* sched, IrqMgr* irqMgr);
|
|
|
|
#endif
|