mirror of https://github.com/zeldaret/oot.git
fix4
This commit is contained in:
parent
e63b460ce4
commit
2e5d1c9bf1
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "libaudio.h"
|
#include "libaudio.h"
|
||||||
|
#include "stddef.h"
|
||||||
|
|
||||||
ALGlobals* alGlobals = NULL;
|
ALGlobals* alGlobals = NULL;
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue