mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-05 23:44:53 +00:00
audio_seqplayer, the easy half (#369)
* func_800E9340 * Audio_SequenceChannelDisable * Audio_SeqChannelLayerFree * Audio_SeqChannelLayerDisable * Rename functions * Audio_SeqChannelSetLayer * Move gSequenceChannelNone into gAudioContext * Audio_SequenceChannelInit * Name functions * Audio_M64ReadU8 * Audio_M64ReadS16 * Audio_M64ReadCompressedU16 * Audio_AudioListPopBack * Audio_AudioListPushBack * Audio_InitLayerFreelist * Audio_SequencePlayerDisableAsFinished * incomplete Audio_SequencePlayerDisable * Audio_SequenceChannelEnable * Audio_SequencePlayerDisableChannels * Audio_SequencePlayerInitChannels * struct fixes * func_800E9ED8 * Name more functions * Audio_SequenceChannelSetVolume * Audio_SetInstrument * Audio_GetInstrument * confirm structs * Audio_ResetSequencePlayer * Audio_InitSequencePlayer * Audio_InitSequencePlayers * func_800EC734 * Find the right Audio_SoundAlloc * Prune functions.h * Move global vars into gAudioContext * func_800EAEF4 * Audio_SeqChannelLayerProcessScript * Audio_HandleScriptFlowControl * func_800E9F64 * func_800EA0C0 * func_800EA440 * func_800EAAE0 * unbreak audio_effects * Audio_ProcessSequence * Audio_ProcessSequences * Some audio_heap struct work and function naming * Audio_SequencePlayerDisable * ? instead of ! in z64audio.h * Revert makefile change * Formatting, player -> seqPlayerIndex * Index -> Idx Co-authored-by: zelda2774 <zelda2774@invalid>
This commit is contained in:
parent
b8da64ee01
commit
c033b4b28e
137 changed files with 2447 additions and 4327 deletions
|
@ -1925,20 +1925,20 @@ void FaultDrawer_SetDefault();
|
|||
// ? func_800DE238(?);
|
||||
// ? func_800DE258(?);
|
||||
// ? func_800DE2B0(?);
|
||||
void* Audio_SoundAlloc(SoundAllocPool* pool, u32 size);
|
||||
void* Audio_AllocDmaMemory(SoundAllocPool* pool, u32 size);
|
||||
// ? func_800DE344(?);
|
||||
// ? func_800DE380(?);
|
||||
// ? func_800DE3DC(?);
|
||||
// ? func_800DE434(?);
|
||||
// ? func_800DE45C(?);
|
||||
// ? func_800DE470(?);
|
||||
// ? func_800DE4B0(?);
|
||||
// ? func_800DE5F0(?);
|
||||
// ? func_800DE650(?);
|
||||
// ? func_800DE6D4(?);
|
||||
// ? func_800DE758(?);
|
||||
// ? func_800DE81C(?);
|
||||
// ? func_800DE8E0(?);
|
||||
void* Audio_AllocZeroed(SoundAllocPool* pool, u32 size);
|
||||
void* Audio_Alloc(SoundAllocPool* pool, u32 size);
|
||||
void Audio_SoundAllocPoolInit(SoundAllocPool* pool, void* memAddr, u32 size);
|
||||
void Audio_PersistentPoolClear(PersistentPool* persistent);
|
||||
void Audio_TemporaryPoolClear(TemporaryPool* temporary);
|
||||
void func_800DE4B0(SoundAllocPool* pool);
|
||||
void Audio_InitMainPools(s32 sizeForAudioInitPool);
|
||||
// void Audio_SessionPoolsInit(?);
|
||||
// void Audio_SeqAndBankPoolInit(?);
|
||||
// void Audio_PersistentPoolsInit(?);
|
||||
// void Audio_TemporaryPoolsInit(?);
|
||||
// void* Audio_AllocBankOrSeq(?);
|
||||
// ? func_800DF074(?);
|
||||
// ? func_800DF0CC(?);
|
||||
// ? func_800DF5DC(?);
|
||||
|
@ -1968,10 +1968,10 @@ void* Audio_SoundAlloc(SoundAllocPool* pool, u32 size);
|
|||
// ? func_800E11F0(?);
|
||||
// ? func_800E12DC(?);
|
||||
// ? func_800E1618(?);
|
||||
s32 func_800E18B0(s32);
|
||||
// ? func_800E1928(?);
|
||||
// ? func_800E1A18(?);
|
||||
// ? func_800E1A48(?);
|
||||
s32 Audio_IsBankLoadComplete(s32 bankId);
|
||||
s32 Audio_IsSeqLoadComplete(s32 seqId);
|
||||
void Audio_SetBankLoadStatus(s32 bankId, u8 status);
|
||||
void Audio_SetSeqLoadStatus(s32 seqId, u8 status);
|
||||
// ? func_800E1A78(?);
|
||||
// ? func_800E1AD8(?);
|
||||
// ? func_800E1B08(?);
|
||||
|
@ -2104,42 +2104,16 @@ void Audio_NoteVibratoInit(Note* note);
|
|||
void Audio_NotePortamentoInit(Note* note);
|
||||
void Audio_AdsrInit(AdsrState* adsr, AdsrEnvelope* envelope, s16* volOut);
|
||||
f32 Audio_AdsrUpdate(AdsrState* adsr);
|
||||
// ? func_800E9340(?);
|
||||
// ? func_800E93A8(?);
|
||||
// ? func_800E9584(?);
|
||||
// ? func_800E96D8(?);
|
||||
// ? func_800E97FC(?);
|
||||
// ? func_800E9878(?);
|
||||
void Audio_SequenceChannelDisable(SequenceChannel* seqChannel);
|
||||
// ? func_800E9934(?);
|
||||
// ? func_800E9A2C(?);
|
||||
// ? func_800E9AAC(?);
|
||||
// ? func_800E9B44(?);
|
||||
void Audio_SequencePlayerDisableAsFinished(SequencePlayer* seqPlayer);
|
||||
void Audio_SequencePlayerDisable(SequencePlayer* seqPlayer);
|
||||
void Audio_AudioListPushBack(AudioListItem* list, AudioListItem* item);
|
||||
void* Audio_AudioListPopBack(AudioListItem* list);
|
||||
// ? func_800E9CA8(?);
|
||||
// ? func_800E9D48(?);
|
||||
// ? func_800E9D5C(?);
|
||||
// ? func_800E9D94(?);
|
||||
// ? func_800E9DD4(?);
|
||||
// ? func_800E9ED8(?);
|
||||
// ? func_800E9F64(?);
|
||||
// ? func_800EA0C0(?);
|
||||
// ? func_800EA440(?);
|
||||
// ? func_800EAAE0(?);
|
||||
// ? func_800EAEF4(?);
|
||||
// ? func_800EAF24(?);
|
||||
// ? func_800EAF98(?);
|
||||
// ? func_800EB044(?);
|
||||
// ? func_800EB068(?);
|
||||
// ? func_800EBD58(?);
|
||||
// ? func_800EC564(?);
|
||||
// ? func_800EC618(?);
|
||||
// ? func_800EC668(?);
|
||||
// ? func_800EC734(?);
|
||||
// ? func_800EC80C(?);
|
||||
// ? func_800EC8DC(?);
|
||||
void Audio_ProcessSequences(s32 arg0);
|
||||
void Audio_ProcessSequence(SequencePlayer* seqPlayer);
|
||||
void Audio_ResetSequencePlayer(SequencePlayer* seqPlayer);
|
||||
void func_800EC734(s32 seqPlayerIdx);
|
||||
void Audio_InitSequencePlayers(void);
|
||||
// ? func_800ECA00(?);
|
||||
// ? func_800ECA60(?);
|
||||
// ? func_800ECAF0(?);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue