Skip to content

Commit

Permalink
fix typo audio (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
coco875 authored Aug 1, 2024
1 parent 8d414cb commit ca4e219
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/audio/external.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/audio/playback.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/audio/port_eu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down
2 changes: 1 addition & 1 deletion src/audio/synthesis.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca4e219

Please sign in to comment.