audio_thread.c OK and Documented (code_80192BE0.c) (#1117)

* copy docs from audio

* PR Suggestions Round 1

* more PR suggestions

* fix bss

* PR Suggestions

* oops, duplicate

* apply OoT Feedback, fix bss

* cleanup

* spacing

* bss

Co-authored-by: angie <angheloalf95@gmail.com>
This commit is contained in:
engineer124
2022-12-08 15:41:03 -05:00
committed by GitHub
parent a5425e4ffc
commit 9c37452bf7
22 changed files with 1964 additions and 445 deletions
+40 -40
View File
@@ -3196,46 +3196,46 @@ asm/non_matchings/code/audio_load/AudioLoad_Unused5.s,AudioLoad_Unused5,0x80192A
asm/non_matchings/code/audio_load/AudioLoad_ScriptLoad.s,AudioLoad_ScriptLoad,0x80192AE8,0x1B
asm/non_matchings/code/audio_load/AudioLoad_ProcessScriptLoads.s,AudioLoad_ProcessScriptLoads,0x80192B54,0x16
asm/non_matchings/code/audio_load/AudioLoad_InitScriptLoads.s,AudioLoad_InitScriptLoads,0x80192BAC,0xD
asm/non_matchings/code/code_80192BE0/func_80192BE0.s,func_80192BE0,0x80192BE0,0x8
asm/non_matchings/code/code_80192BE0/func_80192C00.s,func_80192C00,0x80192C00,0x167
asm/non_matchings/code/code_80192BE0/func_8019319C.s,func_8019319C,0x8019319C,0x14F
asm/non_matchings/code/code_80192BE0/func_801936D8.s,func_801936D8,0x801936D8,0x15
asm/non_matchings/code/code_80192BE0/func_8019372C.s,func_8019372C,0x8019372C,0x12
asm/non_matchings/code/code_80192BE0/func_80193774.s,func_80193774,0x80193774,0x26
asm/non_matchings/code/code_80192BE0/func_8019380C.s,func_8019380C,0x8019380C,0x13
asm/non_matchings/code/code_80192BE0/func_80193858.s,func_80193858,0x80193858,0x9
asm/non_matchings/code/code_80192BE0/AudioThread_QueueCmdS32.s,AudioThread_QueueCmdS32,0x8019387C,0x9
asm/non_matchings/code/code_80192BE0/AudioThread_QueueCmdS8.s,AudioThread_QueueCmdS8,0x801938A0,0xC
asm/non_matchings/code/code_80192BE0/func_801938D0.s,func_801938D0,0x801938D0,0xC
asm/non_matchings/code/code_80192BE0/AudioThread_ScheduleProcessCmds.s,AudioThread_ScheduleProcessCmds,0x80193900,0x24
asm/non_matchings/code/code_80192BE0/func_80193990.s,func_80193990,0x80193990,0x6
asm/non_matchings/code/code_80192BE0/func_801939A8.s,func_801939A8,0x801939A8,0x51
asm/non_matchings/code/code_80192BE0/func_80193AEC.s,func_80193AEC,0x80193AEC,0x2D
asm/non_matchings/code/code_80192BE0/func_80193BA0.s,func_80193BA0,0x80193BA0,0x19
asm/non_matchings/code/code_80192BE0/func_80193C04.s,func_80193C04,0x80193C04,0x8
asm/non_matchings/code/code_80192BE0/func_80193C24.s,func_80193C24,0x80193C24,0xE
asm/non_matchings/code/code_80192BE0/func_80193C5C.s,func_80193C5C,0x80193C5C,0x16
asm/non_matchings/code/code_80192BE0/func_80193CB4.s,func_80193CB4,0x80193CB4,0x15
asm/non_matchings/code/code_80192BE0/func_80193D08.s,func_80193D08,0x80193D08,0x27
asm/non_matchings/code/code_80192BE0/func_80193DA4.s,func_80193DA4,0x80193DA4,0x13
asm/non_matchings/code/code_80192BE0/func_80193DF0.s,func_80193DF0,0x80193DF0,0x15
asm/non_matchings/code/code_80192BE0/func_80193E44.s,func_80193E44,0x80193E44,0xA
asm/non_matchings/code/code_80192BE0/func_80193E6C.s,func_80193E6C,0x80193E6C,0xC
asm/non_matchings/code/code_80192BE0/func_80193E9C.s,func_80193E9C,0x80193E9C,0x3
asm/non_matchings/code/code_80192BE0/func_80193EA8.s,func_80193EA8,0x80193EA8,0x76
asm/non_matchings/code/code_80192BE0/func_80194080.s,func_80194080,0x80194080,0x8F
asm/non_matchings/code/code_80192BE0/func_801942BC.s,func_801942BC,0x801942BC,0x12
asm/non_matchings/code/code_80192BE0/func_80194304.s,func_80194304,0x80194304,0x9
asm/non_matchings/code/code_80192BE0/func_80194328.s,func_80194328,0x80194328,0xD
asm/non_matchings/code/code_80192BE0/func_8019435C.s,func_8019435C,0x8019435C,0x10
asm/non_matchings/code/code_80192BE0/func_8019439C.s,func_8019439C,0x8019439C,0xD
asm/non_matchings/code/code_80192BE0/func_801943D0.s,func_801943D0,0x801943D0,0xF
asm/non_matchings/code/code_80192BE0/func_8019440C.s,func_8019440C,0x8019440C,0x47
asm/non_matchings/code/code_80192BE0/func_80194528.s,func_80194528,0x80194528,0x8
asm/non_matchings/code/code_80192BE0/func_80194548.s,func_80194548,0x80194548,0x8
asm/non_matchings/code/code_80192BE0/func_80194568.s,func_80194568,0x80194568,0x40
asm/non_matchings/code/code_80192BE0/AudioThread_NextRandom.s,AudioThread_NextRandom,0x80194668,0x1F
asm/non_matchings/code/code_80192BE0/AudioThread_InitMesgQueues.s,AudioThread_InitMesgQueues,0x801946E4,0xB
asm/non_matchings/code/audio_thread/AudioThread_Update.s,AudioThread_Update,0x80192BE0,0x8
asm/non_matchings/code/audio_thread/AudioThread_UpdateImpl.s,AudioThread_UpdateImpl,0x80192C00,0x167
asm/non_matchings/code/audio_thread/AudioThread_ProcessGlobalCmd.s,AudioThread_ProcessGlobalCmd,0x8019319C,0x14F
asm/non_matchings/code/audio_thread/AudioThread_SetFadeOutTimer.s,AudioThread_SetFadeOutTimer,0x801936D8,0x15
asm/non_matchings/code/audio_thread/AudioThread_SetFadeInTimer.s,AudioThread_SetFadeInTimer,0x8019372C,0x12
asm/non_matchings/code/audio_thread/AudioThread_InitMesgQueuesInternal.s,AudioThread_InitMesgQueuesInternal,0x80193774,0x26
asm/non_matchings/code/audio_thread/AudioThread_QueueCmd.s,AudioThread_QueueCmd,0x8019380C,0x13
asm/non_matchings/code/audio_thread/AudioThread_QueueCmdF32.s,AudioThread_QueueCmdF32,0x80193858,0x9
asm/non_matchings/code/audio_thread/AudioThread_QueueCmdS32.s,AudioThread_QueueCmdS32,0x8019387C,0x9
asm/non_matchings/code/audio_thread/AudioThread_QueueCmdS8.s,AudioThread_QueueCmdS8,0x801938A0,0xC
asm/non_matchings/code/audio_thread/AudioThread_QueueCmdU16.s,AudioThread_QueueCmdU16,0x801938D0,0xC
asm/non_matchings/code/audio_thread/AudioThread_ScheduleProcessCmds.s,AudioThread_ScheduleProcessCmds,0x80193900,0x24
asm/non_matchings/code/audio_thread/AudioThread_ResetCmdQueue.s,AudioThread_ResetCmdQueue,0x80193990,0x6
asm/non_matchings/code/audio_thread/AudioThread_ProcessCmd.s,AudioThread_ProcessCmd,0x801939A8,0x51
asm/non_matchings/code/audio_thread/AudioThread_ProcessCmds.s,AudioThread_ProcessCmds,0x80193AEC,0x2D
asm/non_matchings/code/audio_thread/AudioThread_GetExternalLoadQueueMsg.s,AudioThread_GetExternalLoadQueueMsg,0x80193BA0,0x19
asm/non_matchings/code/audio_thread/AudioThread_GetFontsForSequence.s,AudioThread_GetFontsForSequence,0x80193C04,0x8
asm/non_matchings/code/audio_thread/AudioThread_GetSampleBankIdsOfFont.s,AudioThread_GetSampleBankIdsOfFont,0x80193C24,0xE
asm/non_matchings/code/audio_thread/func_80193C5C.s,func_80193C5C,0x80193C5C,0x16
asm/non_matchings/code/audio_thread/AudioThread_WaitForAudioResetQueueP.s,AudioThread_WaitForAudioResetQueueP,0x80193CB4,0x15
asm/non_matchings/code/audio_thread/AudioThread_ResetAudioHeap.s,AudioThread_ResetAudioHeap,0x80193D08,0x27
asm/non_matchings/code/audio_thread/AudioThread_PreNMIInternal.s,AudioThread_PreNMIInternal,0x80193DA4,0x13
asm/non_matchings/code/audio_thread/AudioThread_GetChannelIO.s,AudioThread_GetChannelIO,0x80193DF0,0x15
asm/non_matchings/code/audio_thread/AudioThread_GetSeqPlayerIO.s,AudioThread_GetSeqPlayerIO,0x80193E44,0xA
asm/non_matchings/code/audio_thread/AudioThread_InitExternalPool.s,AudioThread_InitExternalPool,0x80193E6C,0xC
asm/non_matchings/code/audio_thread/AudioThread_ResetExternalPool.s,AudioThread_ResetExternalPool,0x80193E9C,0x3
asm/non_matchings/code/audio_thread/AudioThread_ProcessSeqPlayerCmd.s,AudioThread_ProcessSeqPlayerCmd,0x80193EA8,0x76
asm/non_matchings/code/audio_thread/AudioThread_ProcessChannelCmd.s,AudioThread_ProcessChannelCmd,0x80194080,0x8F
asm/non_matchings/code/audio_thread/AudioThread_Noop1Cmd.s,AudioThread_Noop1Cmd,0x801942BC,0x12
asm/non_matchings/code/audio_thread/AudioThread_Noop1CmdZeroed.s,AudioThread_Noop1CmdZeroed,0x80194304,0x9
asm/non_matchings/code/audio_thread/AudioThread_Noop2Cmd.s,AudioThread_Noop2Cmd,0x80194328,0xD
asm/non_matchings/code/audio_thread/AudioThread_WaitForAudioTask.s,AudioThread_WaitForAudioTask,0x8019435C,0x10
asm/non_matchings/code/audio_thread/AudioThread_GetSamplePosFromStart.s,AudioThread_GetSamplePosFromStart,0x8019439C,0xD
asm/non_matchings/code/audio_thread/AudioThread_GetSamplePosUntilEnd.s,AudioThread_GetSamplePosUntilEnd,0x801943D0,0xF
asm/non_matchings/code/audio_thread/AudioThread_GetSamplePos.s,AudioThread_GetSamplePos,0x8019440C,0x47
asm/non_matchings/code/audio_thread/AudioThread_GetEnabledNotesCount.s,AudioThread_GetEnabledNotesCount,0x80194528,0x8
asm/non_matchings/code/audio_thread/AudioThread_GetEnabledSampledNotesCount.s,AudioThread_GetEnabledSampledNotesCount,0x80194548,0x8
asm/non_matchings/code/audio_thread/AudioThread_CountAndReleaseNotes.s,AudioThread_CountAndReleaseNotes,0x80194568,0x40
asm/non_matchings/code/audio_thread/AudioThread_NextRandom.s,AudioThread_NextRandom,0x80194668,0x1F
asm/non_matchings/code/audio_thread/AudioThread_InitMesgQueues.s,AudioThread_InitMesgQueues,0x801946E4,0xB
asm/non_matchings/code/code_80194710/Audio_InvalDCache.s,Audio_InvalDCache,0x80194710,0x10
asm/non_matchings/code/code_80194710/Audio_WritebackDCache.s,Audio_WritebackDCache,0x80194750,0x10
asm/non_matchings/code/code_80194710/osAiSetNextBuffer.s,osAiSetNextBuffer,0x80194790,0x1D
1 asm/non_matchings/code/z_en_a_keep/EnAObj_Init.s EnAObj_Init 0x800A5AC0 0x2B
3196 asm/non_matchings/code/audio_load/AudioLoad_ScriptLoad.s AudioLoad_ScriptLoad 0x80192AE8 0x1B
3197 asm/non_matchings/code/audio_load/AudioLoad_ProcessScriptLoads.s AudioLoad_ProcessScriptLoads 0x80192B54 0x16
3198 asm/non_matchings/code/audio_load/AudioLoad_InitScriptLoads.s AudioLoad_InitScriptLoads 0x80192BAC 0xD
3199 asm/non_matchings/code/code_80192BE0/func_80192BE0.s asm/non_matchings/code/audio_thread/AudioThread_Update.s func_80192BE0 AudioThread_Update 0x80192BE0 0x8
3200 asm/non_matchings/code/code_80192BE0/func_80192C00.s asm/non_matchings/code/audio_thread/AudioThread_UpdateImpl.s func_80192C00 AudioThread_UpdateImpl 0x80192C00 0x167
3201 asm/non_matchings/code/code_80192BE0/func_8019319C.s asm/non_matchings/code/audio_thread/AudioThread_ProcessGlobalCmd.s func_8019319C AudioThread_ProcessGlobalCmd 0x8019319C 0x14F
3202 asm/non_matchings/code/code_80192BE0/func_801936D8.s asm/non_matchings/code/audio_thread/AudioThread_SetFadeOutTimer.s func_801936D8 AudioThread_SetFadeOutTimer 0x801936D8 0x15
3203 asm/non_matchings/code/code_80192BE0/func_8019372C.s asm/non_matchings/code/audio_thread/AudioThread_SetFadeInTimer.s func_8019372C AudioThread_SetFadeInTimer 0x8019372C 0x12
3204 asm/non_matchings/code/code_80192BE0/func_80193774.s asm/non_matchings/code/audio_thread/AudioThread_InitMesgQueuesInternal.s func_80193774 AudioThread_InitMesgQueuesInternal 0x80193774 0x26
3205 asm/non_matchings/code/code_80192BE0/func_8019380C.s asm/non_matchings/code/audio_thread/AudioThread_QueueCmd.s func_8019380C AudioThread_QueueCmd 0x8019380C 0x13
3206 asm/non_matchings/code/code_80192BE0/func_80193858.s asm/non_matchings/code/audio_thread/AudioThread_QueueCmdF32.s func_80193858 AudioThread_QueueCmdF32 0x80193858 0x9
3207 asm/non_matchings/code/code_80192BE0/AudioThread_QueueCmdS32.s asm/non_matchings/code/audio_thread/AudioThread_QueueCmdS32.s AudioThread_QueueCmdS32 0x8019387C 0x9
3208 asm/non_matchings/code/code_80192BE0/AudioThread_QueueCmdS8.s asm/non_matchings/code/audio_thread/AudioThread_QueueCmdS8.s AudioThread_QueueCmdS8 0x801938A0 0xC
3209 asm/non_matchings/code/code_80192BE0/func_801938D0.s asm/non_matchings/code/audio_thread/AudioThread_QueueCmdU16.s func_801938D0 AudioThread_QueueCmdU16 0x801938D0 0xC
3210 asm/non_matchings/code/code_80192BE0/AudioThread_ScheduleProcessCmds.s asm/non_matchings/code/audio_thread/AudioThread_ScheduleProcessCmds.s AudioThread_ScheduleProcessCmds 0x80193900 0x24
3211 asm/non_matchings/code/code_80192BE0/func_80193990.s asm/non_matchings/code/audio_thread/AudioThread_ResetCmdQueue.s func_80193990 AudioThread_ResetCmdQueue 0x80193990 0x6
3212 asm/non_matchings/code/code_80192BE0/func_801939A8.s asm/non_matchings/code/audio_thread/AudioThread_ProcessCmd.s func_801939A8 AudioThread_ProcessCmd 0x801939A8 0x51
3213 asm/non_matchings/code/code_80192BE0/func_80193AEC.s asm/non_matchings/code/audio_thread/AudioThread_ProcessCmds.s func_80193AEC AudioThread_ProcessCmds 0x80193AEC 0x2D
3214 asm/non_matchings/code/code_80192BE0/func_80193BA0.s asm/non_matchings/code/audio_thread/AudioThread_GetExternalLoadQueueMsg.s func_80193BA0 AudioThread_GetExternalLoadQueueMsg 0x80193BA0 0x19
3215 asm/non_matchings/code/code_80192BE0/func_80193C04.s asm/non_matchings/code/audio_thread/AudioThread_GetFontsForSequence.s func_80193C04 AudioThread_GetFontsForSequence 0x80193C04 0x8
3216 asm/non_matchings/code/code_80192BE0/func_80193C24.s asm/non_matchings/code/audio_thread/AudioThread_GetSampleBankIdsOfFont.s func_80193C24 AudioThread_GetSampleBankIdsOfFont 0x80193C24 0xE
3217 asm/non_matchings/code/code_80192BE0/func_80193C5C.s asm/non_matchings/code/audio_thread/func_80193C5C.s func_80193C5C 0x80193C5C 0x16
3218 asm/non_matchings/code/code_80192BE0/func_80193CB4.s asm/non_matchings/code/audio_thread/AudioThread_WaitForAudioResetQueueP.s func_80193CB4 AudioThread_WaitForAudioResetQueueP 0x80193CB4 0x15
3219 asm/non_matchings/code/code_80192BE0/func_80193D08.s asm/non_matchings/code/audio_thread/AudioThread_ResetAudioHeap.s func_80193D08 AudioThread_ResetAudioHeap 0x80193D08 0x27
3220 asm/non_matchings/code/code_80192BE0/func_80193DA4.s asm/non_matchings/code/audio_thread/AudioThread_PreNMIInternal.s func_80193DA4 AudioThread_PreNMIInternal 0x80193DA4 0x13
3221 asm/non_matchings/code/code_80192BE0/func_80193DF0.s asm/non_matchings/code/audio_thread/AudioThread_GetChannelIO.s func_80193DF0 AudioThread_GetChannelIO 0x80193DF0 0x15
3222 asm/non_matchings/code/code_80192BE0/func_80193E44.s asm/non_matchings/code/audio_thread/AudioThread_GetSeqPlayerIO.s func_80193E44 AudioThread_GetSeqPlayerIO 0x80193E44 0xA
3223 asm/non_matchings/code/code_80192BE0/func_80193E6C.s asm/non_matchings/code/audio_thread/AudioThread_InitExternalPool.s func_80193E6C AudioThread_InitExternalPool 0x80193E6C 0xC
3224 asm/non_matchings/code/code_80192BE0/func_80193E9C.s asm/non_matchings/code/audio_thread/AudioThread_ResetExternalPool.s func_80193E9C AudioThread_ResetExternalPool 0x80193E9C 0x3
3225 asm/non_matchings/code/code_80192BE0/func_80193EA8.s asm/non_matchings/code/audio_thread/AudioThread_ProcessSeqPlayerCmd.s func_80193EA8 AudioThread_ProcessSeqPlayerCmd 0x80193EA8 0x76
3226 asm/non_matchings/code/code_80192BE0/func_80194080.s asm/non_matchings/code/audio_thread/AudioThread_ProcessChannelCmd.s func_80194080 AudioThread_ProcessChannelCmd 0x80194080 0x8F
3227 asm/non_matchings/code/code_80192BE0/func_801942BC.s asm/non_matchings/code/audio_thread/AudioThread_Noop1Cmd.s func_801942BC AudioThread_Noop1Cmd 0x801942BC 0x12
3228 asm/non_matchings/code/code_80192BE0/func_80194304.s asm/non_matchings/code/audio_thread/AudioThread_Noop1CmdZeroed.s func_80194304 AudioThread_Noop1CmdZeroed 0x80194304 0x9
3229 asm/non_matchings/code/code_80192BE0/func_80194328.s asm/non_matchings/code/audio_thread/AudioThread_Noop2Cmd.s func_80194328 AudioThread_Noop2Cmd 0x80194328 0xD
3230 asm/non_matchings/code/code_80192BE0/func_8019435C.s asm/non_matchings/code/audio_thread/AudioThread_WaitForAudioTask.s func_8019435C AudioThread_WaitForAudioTask 0x8019435C 0x10
3231 asm/non_matchings/code/code_80192BE0/func_8019439C.s asm/non_matchings/code/audio_thread/AudioThread_GetSamplePosFromStart.s func_8019439C AudioThread_GetSamplePosFromStart 0x8019439C 0xD
3232 asm/non_matchings/code/code_80192BE0/func_801943D0.s asm/non_matchings/code/audio_thread/AudioThread_GetSamplePosUntilEnd.s func_801943D0 AudioThread_GetSamplePosUntilEnd 0x801943D0 0xF
3233 asm/non_matchings/code/code_80192BE0/func_8019440C.s asm/non_matchings/code/audio_thread/AudioThread_GetSamplePos.s func_8019440C AudioThread_GetSamplePos 0x8019440C 0x47
3234 asm/non_matchings/code/code_80192BE0/func_80194528.s asm/non_matchings/code/audio_thread/AudioThread_GetEnabledNotesCount.s func_80194528 AudioThread_GetEnabledNotesCount 0x80194528 0x8
3235 asm/non_matchings/code/code_80192BE0/func_80194548.s asm/non_matchings/code/audio_thread/AudioThread_GetEnabledSampledNotesCount.s func_80194548 AudioThread_GetEnabledSampledNotesCount 0x80194548 0x8
3236 asm/non_matchings/code/code_80192BE0/func_80194568.s asm/non_matchings/code/audio_thread/AudioThread_CountAndReleaseNotes.s func_80194568 AudioThread_CountAndReleaseNotes 0x80194568 0x40
3237 asm/non_matchings/code/code_80192BE0/AudioThread_NextRandom.s asm/non_matchings/code/audio_thread/AudioThread_NextRandom.s AudioThread_NextRandom 0x80194668 0x1F
3238 asm/non_matchings/code/code_80192BE0/AudioThread_InitMesgQueues.s asm/non_matchings/code/audio_thread/AudioThread_InitMesgQueues.s AudioThread_InitMesgQueues 0x801946E4 0xB
3239 asm/non_matchings/code/code_80194710/Audio_InvalDCache.s Audio_InvalDCache 0x80194710 0x10
3240 asm/non_matchings/code/code_80194710/Audio_WritebackDCache.s Audio_WritebackDCache 0x80194750 0x10
3241 asm/non_matchings/code/code_80194710/osAiSetNextBuffer.s osAiSetNextBuffer 0x80194790 0x1D