fix typo audio (#656)

This commit is contained in:
coco875
2024-08-01 05:08:28 +02:00
committed by GitHub
parent 8d414cb3c2
commit ca4e219c1d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef AUDIO_EXTERNAL_H
#define AUDIO_EXTERNAL_H
#include "common_structs.h"
#include <common_structs.h>
#include "camera.h"
#define ADSR_STATE_DISABLED 0
+1 -1
View File
@@ -693,7 +693,7 @@ struct Note *alloc_note_from_active(struct NotePool *pool, struct SequenceChanne
func_800BD8F4(aNote, seqLayer);
audio_list_push_back(&pool->releasing, &aNote->listItem);
}
return aNote;
}
+1 -1
View File
@@ -62,7 +62,7 @@ struct SPTask *create_next_audio_frame_task(void) {
if ((gAudioFrameCount % gAudioBufferParameters.presetUnk4) != 0) {
return NULL;
}
osSendMesg(D_800EA3A8, (OSMesg) gAudioFrameCount, 0);
osSendMesg(D_800EA3A8, (OSMesg) gAudioFrameCount, OS_MESG_NOBLOCK);
gAudioTaskIndex ^= 1;
gCurrAiBufferIndex++;
+1 -1
View File
@@ -2,7 +2,7 @@
#define AUDIO_SYNTHESIS_H
#include "audio/internal.h"
#include "PR/abi.h"
#include <PR/abi.h>
#define DEFAULT_LEN_1CH 0x180
#define DEFAULT_LEN_2CH 0x300