diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2024-02-01 10:25:23 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-31 18:25:23 -0500 |
| commit | a0d31dba680fdddb354dc8aae6ae0efe1663ef3f (patch) | |
| tree | fc3afc6f166b9a8fd83a643ef61adb03e7491dd4 /src/code | |
| parent | d65fb6ed28299b36cfb9c80949649b9a4da4883e (diff) | |
Document Audio Thread Commands (#1399)
* begin docs
* cleanup
* copy over progress
* cleanup
* small cleanup
* more docs, fill out cmds
* small touchup
* pan weight ganon comment
* fix specId
* seqcmd cleanup
* format
* small cleanup
* one more thing
* small feedback from MM
* partial PR
* some PR Suggestions
* small adjustments
* ticks, seqticks, frames, updates: term cleanup
* small fix
* PR Review
* PR Review
* PR Review
* rm param
* adjust comment
* update renamed functions
* format
---------
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/audio_thread_manager.c | 2 | ||||
| -rw-r--r-- | src/code/game.c | 2 | ||||
| -rw-r--r-- | src/code/graph.c | 2 | ||||
| -rw-r--r-- | src/code/speed_meter.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/code/audio_thread_manager.c b/src/code/audio_thread_manager.c index 04f20a8f5..bbec08dea 100644 --- a/src/code/audio_thread_manager.c +++ b/src/code/audio_thread_manager.c @@ -51,7 +51,7 @@ void AudioMgr_HandleRetrace(AudioMgr* audioMgr) { // Skip update, no rsp task produced rspTask = NULL; } else { - rspTask = func_800E4FE0(); + rspTask = AudioThread_Update(); } gAudioThreadUpdateTimeAcc += osGetTime() - gAudioThreadUpdateTimeStart; diff --git a/src/code/game.c b/src/code/game.c index 2b60c66dd..2bc179d68 100644 --- a/src/code/game.c +++ b/src/code/game.c @@ -456,7 +456,7 @@ void GameState_Init(GameState* gameState, GameStateFunc init, GraphicsContext* g void GameState_Destroy(GameState* gameState) { PRINTF("game デストラクタ開始\n"); // "game destructor start" AudioMgr_StopAllSfx(); - func_800F3054(); + Audio_Update(); osRecvMesg(&gameState->gfxCtx->queue, NULL, OS_MESG_BLOCK); LOG_UTILS_CHECK_NULL_POINTER("this->cleanup", gameState->destroy, "../game.c", 1139); if (gameState->destroy != NULL) { diff --git a/src/code/graph.c b/src/code/graph.c index b25612ccc..c6f165b74 100644 --- a/src/code/graph.c +++ b/src/code/graph.c @@ -373,7 +373,7 @@ void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) { gfxCtx->fbIdx++; } - func_800F3054(); + Audio_Update(); { OSTime timeNow = osGetTime(); diff --git a/src/code/speed_meter.c b/src/code/speed_meter.c index 086c3ea70..dff46d91e 100644 --- a/src/code/speed_meter.c +++ b/src/code/speed_meter.c @@ -2,8 +2,8 @@ #include "terminal.h" /** - * How much time the audio update on the audio thread (`func_800E4FE0`) took in total, between scheduling the last two - * graphics tasks. + * How much time the audio update on the audio thread (`AudioThread_Update`) took in total, between scheduling the last + * two graphics tasks. */ volatile OSTime gAudioThreadUpdateTimeTotalPerGfxTask; |
