summaryrefslogtreecommitdiff
path: root/src/code/code_800E4FE0.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2021-12-01 05:47:09 +1100
committerGitHub <noreply@github.com>2021-11-30 13:47:09 -0500
commit783ef3a1170085aebd229f4bf243972824616a7c (patch)
tree6ba8b01e9fda3041b2d4bb5cbb62568a70434a73 /src/code/code_800E4FE0.c
parentd9c1dffe09d8ba9a5ec6cfa723d36f71718c9ee0 (diff)
Audio Sequence Player Ids Enum (#1040)
* bgm.h -> sequence.h * First round of filling in enum * More * seqCmd * format
Diffstat (limited to 'src/code/code_800E4FE0.c')
-rw-r--r--src/code/code_800E4FE0.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/code_800E4FE0.c b/src/code/code_800E4FE0.c
index 102012fa7..8a1ed54b1 100644
--- a/src/code/code_800E4FE0.c
+++ b/src/code/code_800E4FE0.c
@@ -562,8 +562,8 @@ s8 func_800E6070(s32 playerIdx, s32 channelIdx, s32 scriptIdx) {
}
}
-s8 func_800E60C4(s32 arg0, s32 arg1) {
- return gAudioContext.seqPlayers[arg0].soundScriptIO[arg1];
+s8 func_800E60C4(s32 playerIdx, s32 arg1) {
+ return gAudioContext.seqPlayers[playerIdx].soundScriptIO[arg1];
}
void Audio_InitExternalPool(void* mem, u32 size) {
@@ -723,7 +723,7 @@ void Audio_WaitForAudioTask(void) {
osRecvMesg(gAudioContext.taskStartQueueP, NULL, OS_MESG_BLOCK);
}
-s32 func_800E6590(s32 arg0, s32 arg1, s32 arg2) {
+s32 func_800E6590(s32 playerIdx, s32 arg1, s32 arg2) {
SequencePlayer* seqPlayer;
SequenceLayer* layer;
Note* note;
@@ -731,7 +731,7 @@ s32 func_800E6590(s32 arg0, s32 arg1, s32 arg2) {
s32 loopEnd;
s32 samplePos;
- seqPlayer = &gAudioContext.seqPlayers[arg0];
+ seqPlayer = &gAudioContext.seqPlayers[playerIdx];
if (seqPlayer->enabled && seqPlayer->channels[arg1]->enabled) {
layer = seqPlayer->channels[arg1]->layers[arg2];
if (layer == NULL) {