mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-09-07 10:11:45 -04:00
jaudio_NES: building from pik1
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#ifndef _JAUDIO_DRIVERINTERFACE_H
|
||||
#define _JAUDIO_DRIVERINTERFACE_H
|
||||
|
||||
#include "types.h"
|
||||
#include "jaudio_NES/audiostruct.h"
|
||||
|
||||
/////////// JAUDIO DRIVER INTERFACE DEFINITIONS ///////////
|
||||
// Global functions (all C++, so no extern C wrap).
|
||||
void Channel_SetMixerLevel(f32);
|
||||
jcs_* Get_GlobalHandle();
|
||||
int List_CountChannel(jc_**);
|
||||
int List_CutChannel(jc_*);
|
||||
jc_* List_GetChannel(jc_**);
|
||||
void List_AddChannelTail(jc_**, jc_*);
|
||||
void List_AddChannel(jc_**, jc_*);
|
||||
int FixAllocChannel(jcs_*, u32);
|
||||
int FixReleaseChannel(jc_*);
|
||||
int FixReleaseChannelAll(jcs_*);
|
||||
int FixMoveChannelAll(jcs_*, jcs_*);
|
||||
void InitJcs(jcs_*);
|
||||
void Channel_Init(jc_*);
|
||||
void InitGlobalChannel();
|
||||
void UpdateJcToDSP(jc_*);
|
||||
void UpdateEffecterParam(jc_*);
|
||||
void DoEffectOsc(jc_*, u8, f32);
|
||||
BOOL StopLogicalChannel(jc_*);
|
||||
BOOL CheckLogicalChannel(jc_*);
|
||||
BOOL PlayLogicalChannel(jc_*);
|
||||
BOOL ResetInitialVolume(jc_*);
|
||||
BOOL Add_WaitDSPChannel(jc_*);
|
||||
BOOL Del_WaitDSPChannel(jc_*);
|
||||
void __Entry_WaitChannel(u8);
|
||||
void EntryCheck_WaitDSPChannel();
|
||||
BOOL ForceStopLogicalChannel(jc_*);
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user