mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 23:26:00 -04:00
Rename some audio functions to their libnaudio names
This commit is contained in:
@@ -347,7 +347,7 @@ void alSynSetVol(ALVoice *v, s16 vol, ALMicroTime delta);
|
||||
void alSynSetPitch(ALSynth *s, ALVoice *voice, f32 ratio);
|
||||
void alSynSetPan(ALSynth *s, ALVoice *voice, ALPan pan);
|
||||
void alSynSetFXMix(ALSynth *s, ALVoice *voice, u8 fxmix);
|
||||
void alSynSetPriority(ALVoice *voice, s16 priority);
|
||||
void n_alSynSetPriority(ALVoice *voice, s16 priority);
|
||||
s16 alSynGetPriority(ALSynth *s, ALVoice *voice);
|
||||
|
||||
ALFxRef *alSynAllocFX(ALSynth *s, s16 bus, ALSynConfig *c, ALHeap *hp);
|
||||
@@ -362,7 +362,7 @@ typedef struct {
|
||||
ALSynth drvr;
|
||||
} ALGlobals;
|
||||
|
||||
extern ALGlobals *alGlobals;
|
||||
extern ALGlobals *n_syn;
|
||||
|
||||
void alInit(ALGlobals *glob, ALSynConfig *c);
|
||||
void alClose(ALGlobals *glob);
|
||||
@@ -594,13 +594,13 @@ typedef struct {
|
||||
s32 eventCount;
|
||||
} ALEventQueue;
|
||||
|
||||
void alEvtqNew(ALEventQueue *evtq, ALEventListItem *items,
|
||||
void n_alEvtqNew(ALEventQueue *evtq, ALEventListItem *items,
|
||||
s32 itemCount);
|
||||
ALMicroTime alEvtqNextEvent(ALEventQueue *evtq, ALEvent *evt);
|
||||
ALMicroTime n_alEvtqNextEvent(ALEventQueue *evtq, ALEvent *evt);
|
||||
void alEvtqPostEvent(ALEventQueue *evtq, ALEvent *evt,
|
||||
ALMicroTime delta, s32 arg3);
|
||||
void alEvtqFlush(ALEventQueue *evtq);
|
||||
void alEvtqFlushType(ALEventQueue *evtq, s16 type);
|
||||
void n_alEvtqFlushType(ALEventQueue *evtq, s16 type);
|
||||
|
||||
|
||||
#define AL_PHASE_ATTACK 0
|
||||
|
||||
@@ -12,26 +12,26 @@
|
||||
|
||||
ALVoiceState *__mapVoice(ALSeqPlayer *, u8, u8, u8);
|
||||
void __unmapVoice(ALSeqPlayer *seqp, ALVoice *voice);
|
||||
char __voiceNeedsNoteKill(ALSeqPlayer *seqp, ALVoice *voice, ALMicroTime killTime); /* sct 1/5/96 */
|
||||
char __n_voiceNeedsNoteKill(ALSeqPlayer *seqp, ALVoice *voice, ALMicroTime killTime); /* sct 1/5/96 */
|
||||
|
||||
ALVoiceState *__lookupVoice(ALSeqPlayer *, u8, u8);
|
||||
ALSound *__lookupSound(ALSeqPlayer *, u8, u8, u8);
|
||||
ALSound *__lookupSoundQuick(ALSeqPlayer *, u8, u8, u8);
|
||||
|
||||
s16 __vsVol(ALVoiceState *voice, ALSeqPlayer *seqp);
|
||||
ALMicroTime __vsDelta(ALVoiceState *voice, ALMicroTime t);
|
||||
ALMicroTime __n_vsDelta(ALVoiceState *voice, ALMicroTime t);
|
||||
ALPan __vsPan(ALVoiceState *voice, ALSeqPlayer *seqp);
|
||||
|
||||
void __initFromBank(ALSeqPlayer *seqp, ALBank *b);
|
||||
void __n_initFromBank(ALSeqPlayer *seqp, ALBank *b);
|
||||
void __initChanState(ALSeqPlayer *seqp);
|
||||
void __resetPerfChanState(ALSeqPlayer *seqp, s32 chan);
|
||||
void __setInstChanState(ALSeqPlayer *seqp, ALInstrument *inst, s32 chan);
|
||||
void __n_resetPerfChanState(ALSeqPlayer *seqp, s32 chan);
|
||||
void __n_setInstChanState(ALSeqPlayer *seqp, ALInstrument *inst, s32 chan);
|
||||
|
||||
void __seqpPrintVoices(ALSeqPlayer *);
|
||||
void __seqpReleaseVoice(ALSeqPlayer *seqp, ALVoice *voice,
|
||||
ALMicroTime deltaTime);
|
||||
|
||||
void __seqpStopOsc(ALSeqPlayer *seqp, ALVoiceState *vs);
|
||||
void __n_seqpStopOsc(ALSeqPlayer *seqp, ALVoiceState *vs);
|
||||
|
||||
void __postNextSeqEvent(ALSeqPlayer *seqp); /* sct 11/7/95 */
|
||||
|
||||
|
||||
+2
-2
@@ -83,8 +83,8 @@ extern u32 var8005f038;
|
||||
extern u16 *g_RdpOutBufferEnd;
|
||||
extern u16 *g_RdpOutBufferStart;
|
||||
extern struct rdptask *g_RdpCurTask;
|
||||
extern ALGlobals *var8005f110;
|
||||
extern ALGlobals *alGlobals;
|
||||
extern ALGlobals *n_alGlobals;
|
||||
extern ALGlobals *n_syn;
|
||||
extern u32 var8005f120;
|
||||
extern u32 var8005f124;
|
||||
extern u32 var8005f128;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "types.h"
|
||||
|
||||
u32 func0003a100(void);
|
||||
u32 func0003a940(void);
|
||||
u32 n_alFxParamHdl(void);
|
||||
u32 func0003ae60(void);
|
||||
u32 func0003b178(void);
|
||||
u32 func0003b370(void);
|
||||
|
||||
@@ -10,6 +10,6 @@ u32 func0003d69c(void);
|
||||
u32 func0003d72c(void);
|
||||
u32 func0003d8a4(void);
|
||||
u32 func0003d9cc(void);
|
||||
void __resetPerfChanState(ALSeqPlayer *seqp, s32 chan);
|
||||
void __n_resetPerfChanState(ALSeqPlayer *seqp, s32 chan);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -8,7 +8,7 @@ u32 func0003e3e0(void);
|
||||
u32 func0003e490(void);
|
||||
u32 func0003e540(void);
|
||||
u32 func0003e5b8(void);
|
||||
u32 func0003e630(void);
|
||||
u32 n_alSynSetFXParam(void);
|
||||
u32 func0003e674(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user