|
Mario Kart 64
|
#include <ultra64.h>#include <macros.h>#include "audio/data.h"#include "audio/effects.h"#include "audio/heap.h"#include "audio/load.h"#include "audio/synthesis.h"#include "audio/playback.h"#include "audio/seqplayer.h"Variables | |
| s16 | gVolume |
| s8 | gUseReverb |
| s8 | gNumSynthesisReverbs |
| struct NoteSubEu * | gNoteSubsEu |
| struct SoundAllocPool | gAudioSessionPool |
| struct SoundAllocPool | gAudioInitPool |
| struct SoundAllocPool | gNotesAndBuffersPool |
| u8 | sAudioHeapPad [0x20] |
| struct SoundAllocPool | gSeqAndBankPool |
| struct SoundAllocPool | gPersistentCommonPool |
| struct SoundAllocPool | gTemporaryCommonPool |
| struct SoundMultiPool | gSeqLoadedPool |
| struct SoundMultiPool | gBankLoadedPool |
| struct SoundMultiPool | gUnusedLoadedPool |
| struct Unk1Pool | gUnkPool1 |
| struct PoolSplit | sSessionPoolSplit |
| struct PoolSplit2 | sSeqAndBankPoolSplit |
| struct PoolSplit | sPersistentCommonPoolSplit |
| struct PoolSplit | sTemporaryCommonPoolSplit |
| u8 | gUnkLoadStatus [0x40] |
| u8 | gBankLoadStatus [0x40] |
| u8 | gSeqLoadStatus [0x100] |
| volatile u8 | gAudioResetStatus |
| u8 | gAudioResetPresetIdToLoad |
| s32 | gAudioResetFadeOutFramesLeft |
| u8 | gAudioUnusedBuffer [0x1000] |
| struct Note * | gNotes |
| char | heapAudioString00 [] = "Warning:Kill Note %x \n" |
| char | heapAudioString01 [] = "Kill Voice %d (ID %d) %d\n" |
| char | heapAudioString02 [] = "Warning: Running Sequence's data disappear!\n" |
| char | heapAudioString03 [] = "Audio:Memory:Heap OverFlow : Not Allocate %d!\n" |
| char | heapAudioString04 [] = "Audio:Memory:DataHeap Not Allocate \n" |
| char | heapAudioString05 [] = "StayHeap Not Allocate %d\n" |
| char | heapAudioString06 [] = "AutoHeap Not Allocate %d\n" |
| char | heapAudioString07 [] = "Status ID0 : %d ID1 : %d\n" |
| char | heapAudioString08 [] = "id 0 is Stopping\n" |
| char | heapAudioString09 [] = "id 0 is Stop\n" |
| char | heapAudioString10 [] = "id 1 is Stopping\n" |
| char | heapAudioString11 [] = "id 1 is Stop\n" |
| char | heapAudioString12 [] = "WARNING: NO FREE AUTOSEQ AREA.\n" |
| char | heapAudioString13 [] = "WARNING: NO STOP AUTO AREA.\n" |
| char | heapAudioString14 [] = " AND TRY FORCE TO STOP SIDE \n" |
| char | heapAudioString15 [] = "Check ID0 (seq ID %d) Useing ...\n" |
| char | heapAudioString16 [] = "Check ID1 (seq ID %d) Useing ...\n" |
| char | heapAudioString17 [] = "No Free Seq area.\n" |
| char | heapAudioString18 [] = "CH %d: ID %d\n" |
| char | heapAudioString19 [] = "TWO SIDES ARE LOADING... ALLOC CANCELED.\n" |
| char | heapAudioString20 [] = "WARNING: Before Area Overlaid After." |
| char | heapAudioString21 [] = "WARNING: After Area Overlaid Before." |
| char | heapAudioString22 [] = "MEMORY:SzHeapAlloc ERROR: sza->side %d\n" |
| char | heapAudioString23 [] = "Audio:MEMORY:SzHeap Overflow error. (%d bytes)\n" |
| char | heapAudioString24 [] = "Auto Heap Unhit for ID %d\n" |
| char | heapAudioString25 [] = "Heap Reconstruct Start %x\n" |
| char | heapAudioString26 [] = "AHPBASE %x\n" |
| char | heapAudioString27 [] = "AHPCUR %x\n" |
| char | heapAudioString28 [] = "HeapTop %x\n" |
| char | heapAudioString29 [] = "SynoutRate %d / %d \n" |
| char | heapAudioString30 [] = "FXSIZE %d\n" |
| char | heapAudioString31 [] = "FXCOMP %d\n" |
| char | heapAudioString32 [] = "FXDOWN %d\n" |
| char | heapAudioString33 [] = "WaveCacheLen: %d\n" |
| char | heapAudioString34 [] = "SpecChange Finished\n" |
| char | heapAudioString35 [] = "Fbank Seq %x\n" |
| char | heapAudioString36 [] = "Already Load Type %d,ID %d\n" |
| char | heapAudioString37 [] = "Warning:Emem Over,not alloc %d\n" |
| char | heapAudioString38 [] = "Write %d\n" |
| void * alloc_bank_or_seq | ( | struct SoundMultiPool * | arg0, |
| s32 | arg1, | ||
| s32 | size, | ||
| s32 | arg3, | ||
| s32 | id ) |
| void audio_reset_session | ( | void | ) |
| s32 audio_shut_down_and_reset_step | ( | void | ) |
| void decrease_reverb_gain | ( | void | ) |
| void discard_bank | ( | s32 | bankId | ) |
| void discard_sequence | ( | s32 | seqId | ) |
| void func_800B90E0 | ( | struct SoundAllocPool * | pool | ) |
| void func_800B914C | ( | struct PoolSplit * | arg0 | ) |
| void persistent_pool_clear | ( | struct PersistentPool * | persistent | ) |
| void persistent_pools_init | ( | struct PoolSplit * | a | ) |
| void reset_bank_and_seq_load_status | ( | void | ) |
| void seq_and_bank_pool_init | ( | struct PoolSplit2 * | a | ) |
| void sound_alloc_pool_init | ( | struct SoundAllocPool * | pool, |
| void * | memAddr, | ||
| u32 | size ) |
| void sound_init_main_pools | ( | s32 | arg0 | ) |
| void * soundAlloc | ( | struct SoundAllocPool * | pool, |
| u32 | size ) |
| void temporary_pool_clear | ( | struct TemporaryPool * | temporary | ) |
| void temporary_pools_init | ( | struct PoolSplit * | a | ) |
| struct SoundAllocPool gAudioInitPool |
| s32 gAudioResetFadeOutFramesLeft |
| u8 gAudioResetPresetIdToLoad |
| volatile u8 gAudioResetStatus |
| struct SoundAllocPool gAudioSessionPool |
| u8 gAudioUnusedBuffer[0x1000] |
| struct SoundMultiPool gBankLoadedPool |
| u8 gBankLoadStatus[0x40] |
| struct Note* gNotes |
| struct SoundAllocPool gNotesAndBuffersPool |
| struct NoteSubEu* gNoteSubsEu |
| s8 gNumSynthesisReverbs |
| struct SoundAllocPool gPersistentCommonPool |
| struct SoundAllocPool gSeqAndBankPool |
| struct SoundMultiPool gSeqLoadedPool |
| u8 gSeqLoadStatus[0x100] |
| struct SoundAllocPool gTemporaryCommonPool |
| u8 gUnkLoadStatus |
| struct Unk1Pool gUnkPool1 |
| struct SoundMultiPool gUnusedLoadedPool |
| s8 gUseReverb |
| s16 gVolume |
| char heapAudioString00[] = "Warning:Kill Note %x \n" |
Given that (almost) all of these are format strings, it is highly likely that they are meant to be used in some sort of printf variant. But I don't care to try and figure out which function gets which string(s) So I've place them all here instead.
| char heapAudioString01[] = "Kill Voice %d (ID %d) %d\n" |
| char heapAudioString02[] = "Warning: Running Sequence's data disappear!\n" |
| char heapAudioString03[] = "Audio:Memory:Heap OverFlow : Not Allocate %d!\n" |
| char heapAudioString04[] = "Audio:Memory:DataHeap Not Allocate \n" |
| char heapAudioString05[] = "StayHeap Not Allocate %d\n" |
| char heapAudioString06[] = "AutoHeap Not Allocate %d\n" |
| char heapAudioString07[] = "Status ID0 : %d ID1 : %d\n" |
| char heapAudioString08[] = "id 0 is Stopping\n" |
| char heapAudioString09[] = "id 0 is Stop\n" |
| char heapAudioString10[] = "id 1 is Stopping\n" |
| char heapAudioString11[] = "id 1 is Stop\n" |
| char heapAudioString12[] = "WARNING: NO FREE AUTOSEQ AREA.\n" |
| char heapAudioString13[] = "WARNING: NO STOP AUTO AREA.\n" |
| char heapAudioString14[] = " AND TRY FORCE TO STOP SIDE \n" |
| char heapAudioString15[] = "Check ID0 (seq ID %d) Useing ...\n" |
| char heapAudioString16[] = "Check ID1 (seq ID %d) Useing ...\n" |
| char heapAudioString17[] = "No Free Seq area.\n" |
| char heapAudioString18[] = "CH %d: ID %d\n" |
| char heapAudioString19[] = "TWO SIDES ARE LOADING... ALLOC CANCELED.\n" |
| char heapAudioString20[] = "WARNING: Before Area Overlaid After." |
| char heapAudioString21[] = "WARNING: After Area Overlaid Before." |
| char heapAudioString22[] = "MEMORY:SzHeapAlloc ERROR: sza->side %d\n" |
| char heapAudioString23[] = "Audio:MEMORY:SzHeap Overflow error. (%d bytes)\n" |
| char heapAudioString24[] = "Auto Heap Unhit for ID %d\n" |
| char heapAudioString25[] = "Heap Reconstruct Start %x\n" |
| char heapAudioString26[] = "AHPBASE %x\n" |
| char heapAudioString27[] = "AHPCUR %x\n" |
| char heapAudioString28[] = "HeapTop %x\n" |
| char heapAudioString29[] = "SynoutRate %d / %d \n" |
| char heapAudioString30[] = "FXSIZE %d\n" |
| char heapAudioString31[] = "FXCOMP %d\n" |
| char heapAudioString32[] = "FXDOWN %d\n" |
| char heapAudioString33[] = "WaveCacheLen: %d\n" |
| char heapAudioString34[] = "SpecChange Finished\n" |
| char heapAudioString35[] = "Fbank Seq %x\n" |
| char heapAudioString36[] = "Already Load Type %d,ID %d\n" |
| char heapAudioString37[] = "Warning:Emem Over,not alloc %d\n" |
| char heapAudioString38[] = "Write %d\n" |
| u8 sAudioHeapPad[0x20] |
| struct PoolSplit sPersistentCommonPoolSplit |
| struct PoolSplit2 sSeqAndBankPoolSplit |
| struct PoolSplit sSessionPoolSplit |
| struct PoolSplit sTemporaryCommonPoolSplit |