JASDSPBuf, JASChAllocQueue OK

This commit is contained in:
LagoLunatic
2023-12-18 15:55:47 -05:00
parent cd7dc9ddd7
commit 2d82197034
12 changed files with 61 additions and 38 deletions
+2
View File
@@ -24,6 +24,8 @@ namespace JASystem {
extern int JASVframeCounter;
extern s16* (*extMixCallback)(s32);
extern u8 extMixMode;
inline void JASAiMixLimit16(s32) {} // TODO
}
}
+7
View File
@@ -54,6 +54,13 @@ namespace JASystem {
void extraUpdate(TChannel*, u32);
static void updatecallLogicalChannel(TChannel*, u32);
u8 getNoteOnPriority() const { return field_0x48; }
// TODO
void getLifeTimePriority() const {}
void getReleasePriority() const {}
void setSkipSamples(u32) {}
/* 0x00 */ u8 field_0x0;
/* 0x01 */ u8 field_0x1;
/* 0x02 */ u8 mPauseFlag;
+8 -1
View File
@@ -7,10 +7,17 @@ namespace JASystem {
namespace Kernel {
extern f32 gDacRate;
extern u32 gSubFrames;
extern int gFrameSamples;
extern u32 gFrameSamples;
extern u32 gDacSize;
extern int gOutputRate;
extern int gAiSetting;
inline f32 getDacRate() { return gDacRate; }
inline u32 getSubFrames() { return gSubFrames; }
inline u32 getFrameSamples() { return gFrameSamples; }
inline u32 getDacSize() { return gDacSize; }
inline int getOutputRate() { return gOutputRate; }
inline int getAiSetting() { return gAiSetting; }
}
}