From ca4e219c1d19d9f8c0da0d4b38451f3c0b43bc16 Mon Sep 17 00:00:00 2001 From: coco875 <59367621+coco875@users.noreply.github.com> Date: Thu, 1 Aug 2024 05:08:28 +0200 Subject: [PATCH] fix typo audio (#656) --- src/audio/external.h | 2 +- src/audio/playback.c | 2 +- src/audio/port_eu.c | 2 +- src/audio/synthesis.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/audio/external.h b/src/audio/external.h index 6425b936a0..122ef89500 100644 --- a/src/audio/external.h +++ b/src/audio/external.h @@ -1,7 +1,7 @@ #ifndef AUDIO_EXTERNAL_H #define AUDIO_EXTERNAL_H -#include "common_structs.h" +#include #include "camera.h" #define ADSR_STATE_DISABLED 0 diff --git a/src/audio/playback.c b/src/audio/playback.c index e85d1e42b6..1d8af00a6c 100644 --- a/src/audio/playback.c +++ b/src/audio/playback.c @@ -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; } diff --git a/src/audio/port_eu.c b/src/audio/port_eu.c index 11b0001754..6d29a041c0 100644 --- a/src/audio/port_eu.c +++ b/src/audio/port_eu.c @@ -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++; diff --git a/src/audio/synthesis.h b/src/audio/synthesis.h index a1854442bc..175615f370 100644 --- a/src/audio/synthesis.h +++ b/src/audio/synthesis.h @@ -2,7 +2,7 @@ #define AUDIO_SYNTHESIS_H #include "audio/internal.h" -#include "PR/abi.h" +#include #define DEFAULT_LEN_1CH 0x180 #define DEFAULT_LEN_2CH 0x300