mirror of
https://github.com/n64decomp/mk64
synced 2026-08-19 13:23:37 -04:00
Lots of matches in the audio code (#417)
* Lots of audio matches Fully matched heap.c, lots of load.c and some stuff in seqplayer.c Matched heap.c's BSS segement and moved some BSS stuff out of load.c into data.c, since that where it appears to belong according to SM64. Signed-off-by: Taggerung <tyler.taggerung@email.com>
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
#define AUDIO_LOCK_NOT_LOADING 0x76557364
|
||||
#define AUDIO_LOCK_LOADING 0x19710515
|
||||
|
||||
#define NUMAIBUFFERS 3
|
||||
#define AIBUFFER_LEN (0xa0 * 16)
|
||||
|
||||
// number of DMAs performed during this frame
|
||||
extern s32 gCurrAudioFrameDmaCount;
|
||||
|
||||
@@ -33,4 +36,24 @@ extern f32 gStereoPanVolume[128];
|
||||
extern f32 gDefaultPanVolume[128];
|
||||
extern u32 gAudioRandom;
|
||||
|
||||
extern s16 gTatumsPerBeat; // D_800EA5CC
|
||||
extern volatile s32 gAudioLoadLock; // D_800EA5DC
|
||||
|
||||
extern s32 D_803B70C0;
|
||||
extern s32 D_803B70C4;
|
||||
extern u64 *gAudioCmdBuffers[2]; // probably wrong
|
||||
extern u64 *gAudioCmd; // D_803B70D0
|
||||
extern struct SPTask *gAudioTask; // D_803B70D4
|
||||
extern struct SPTask gAudioTasks[2]; // D_803B70D8
|
||||
extern f32 D_803B7178;
|
||||
extern s32 gRefreshRate;
|
||||
extern s16 *gAiBuffers[NUMAIBUFFERS]; // D_803B7180
|
||||
extern u32 D_803B718C; // osAiSetNextBuffer nbytes
|
||||
extern s16 load_bss_pad3;
|
||||
extern u16 D_803B7192; // unconfirmed
|
||||
extern u32 gAudioRandom;
|
||||
extern s32 gAudioErrorFlags;
|
||||
extern u32 D_803B71A0[4]; // unconfirmed
|
||||
extern u8 D_803B71B0[4]; // unconfirmed
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user