This commit is contained in:
Dragorn421 2025-05-24 18:11:33 +02:00
parent e63b460ce4
commit 2e5d1c9bf1
No known key found for this signature in database
GPG Key ID: 381AEBAF3D429335
11 changed files with 14 additions and 5 deletions

View File

@ -1,5 +1,7 @@
#include "libaudio.h" #include "libaudio.h"
#include "synthInternals.h" #include "synthInternals.h"
#include "stdbool.h"
#include "stddef.h"
// WARNING: THE FOLLOWING CONSTANT MUST BE KEPT IN SYNC WITH SCALING IN MICROCODE!!! // WARNING: THE FOLLOWING CONSTANT MUST BE KEPT IN SYNC WITH SCALING IN MICROCODE!!!
#define SCALE 16384 #define SCALE 16384

View File

@ -1,7 +1,7 @@
#include "libaudio.h" #include "libaudio.h"
#include "synthInternals.h"
#include "stdbool.h" #include "stdbool.h"
#include "stddef.h" #include "stddef.h"
#include "synthInternals.h"
#include "ultra64/convert.h" #include "ultra64/convert.h"
#define EQPOWER_LENGTH 128 #define EQPOWER_LENGTH 128

View File

@ -1,5 +1,6 @@
#include "libaudio.h" #include "libaudio.h"
#include "synthInternals.h" #include "synthInternals.h"
#include "stddef.h"
void alFilterNew(ALFilter* f, ALCmdHandler h, ALSetParam s, s32 type) { void alFilterNew(ALFilter* f, ALCmdHandler h, ALSetParam s, s32 type) {
f->source = NULL; f->source = NULL;

View File

@ -1,5 +1,6 @@
#include "libaudio.h" #include "libaudio.h"
#include "synthInternals.h" #include "synthInternals.h"
#include "stddef.h"
void* alHeapDBAlloc(u8* file, s32 line, ALHeap* hp, s32 num, s32 size) { void* alHeapDBAlloc(u8* file, s32 line, ALHeap* hp, s32 num, s32 size) {
s32 bytes; s32 bytes;

View File

@ -1,8 +1,8 @@
#include "libaudio.h" #include "libaudio.h"
#include "synthInternals.h"
#include "stdbool.h" #include "stdbool.h"
#include "stddef.h" #include "stddef.h"
#include "stdint.h" #include "stdint.h"
#include "synthInternals.h"
#include "ultra64/R4300.h" #include "ultra64/R4300.h"
#ifndef MIN #ifndef MIN

View File

@ -1,7 +1,7 @@
#include "libaudio.h" #include "libaudio.h"
#include "synthInternals.h"
#include "stdbool.h" #include "stdbool.h"
#include "stddef.h" #include "stddef.h"
#include "synthInternals.h"
#include "ultra64/convert.h" #include "ultra64/convert.h"
Acmd* alResamplePull(void* filter, s16* outp, s32 outCnt, s32 sampleOffset, Acmd* p) { Acmd* alResamplePull(void* filter, s16* outp, s32 outCnt, s32 sampleOffset, Acmd* p) {

View File

@ -1,8 +1,8 @@
#include "libaudio.h" #include "libaudio.h"
#include "synthInternals.h"
#include "stdbool.h" #include "stdbool.h"
#include "stddef.h" #include "stddef.h"
#include "stdint.h" #include "stdint.h"
#include "synthInternals.h"
#include "ultra64/convert.h" #include "ultra64/convert.h"
#define RANGE 2.0 #define RANGE 2.0

View File

@ -1,4 +1,5 @@
#include "libaudio.h" #include "libaudio.h"
#include "stddef.h"
ALGlobals* alGlobals = NULL; ALGlobals* alGlobals = NULL;

View File

@ -1,3 +1,4 @@
#include "libaudio.h"
#include "synthInternals.h" #include "synthInternals.h"
ALFxRef* alSynAllocFX(ALSynth* s, s16 bus, ALSynConfig* c, ALHeap* hp) { ALFxRef* alSynAllocFX(ALSynth* s, s16 bus, ALSynConfig* c, ALHeap* hp) {

View File

@ -1,4 +1,5 @@
#include "synthInternals.h" #include "libaudio.h"
#include "stddef.h"
void alSynDelete(ALSynth* drvr) { void alSynDelete(ALSynth* drvr) {
drvr->head = NULL; drvr->head = NULL;

View File

@ -1,4 +1,6 @@
#include "libaudio.h"
#include "synthInternals.h" #include "synthInternals.h"
#include "stddef.h"
#ifndef MIN #ifndef MIN
#define MIN(a, b) (((a) < (b)) ? (a) : (b)) #define MIN(a, b) (((a) < (b)) ? (a) : (b))