JASHardStream OK

This commit is contained in:
LagoLunatic
2025-03-15 20:35:06 -04:00
parent 89e9cdafb5
commit 243c576d6e
6 changed files with 126 additions and 46 deletions
+2 -2
View File
@@ -40,6 +40,7 @@ namespace JASystem {
static int getNumBreak();
u8 getNumber() { return mNumber; }
u8 getStatus() { return mStatus; }
u8 getPriority() { return mPriority; }
void setPriority(u8 priority) { mPriority = priority; }
u16 getPriorityTime() { return mPriorityTime; }
@@ -58,12 +59,11 @@ namespace JASystem {
// TODO: inlines
void checkSign(u32) {}
void isFree() {}
void getStatus() {}
void forceStop(TDSPChannel*) {}
void release(TDSPChannel*, u32) {}
/* 0x00 */ u8 mNumber;
/* 0x01 */ u8 field_0x1;
/* 0x01 */ u8 mStatus;
/* 0x02 */ u8 field_0x2;
/* 0x03 */ u8 mPriority;
/* 0x04 */ u16 mPriorityTime;
+14
View File
@@ -124,6 +124,20 @@ namespace JASystem {
void initBuffer();
FXBuffer* getFXHandle(u8 param_1);
// TODO inlines
inline void boot(void (*)(void*)) {}
inline void finishWork(u16) {}
inline void flushChannel(u8) {}
inline void restart() {}
inline void setBusConnect(u8, u8, u8) {}
inline void setFXLine(u8, s16*, FxlineConfig_*) {}
inline void setMixerInitDelayMax(u8, u8) {}
inline void setMixerInitVolume(u8, u8, s16, u8) {}
inline void setMixerVolume(u8, u8, s16, u8) {}
inline void setPauseFlag(u8, u8) {}
inline void setPitch(u8, u16) {}
inline void sync(u32, u32, u32) {}
extern u16 SEND_TABLE[12];
extern u32 DOLBY2_DELAY_BUF[];
extern u16 JAS_DSP_PREFIX;
+6 -6
View File
@@ -76,18 +76,18 @@ namespace JASystem {
/* 0x0B */ u8 field_0xb;
/* 0x0C */ f32 field_0xc;
/* 0x10 */ f32 field_0x10;
/* 0x14 */ int field_0x14;
/* 0x18 */ int field_0x18;
/* 0x1C */ int field_0x1c;
/* 0x14 */ u32 field_0x14;
/* 0x18 */ u32 field_0x18;
/* 0x1C */ u32 field_0x1c;
/* 0x20 */ f32 field_0x20;
/* 0x24 */ f32 field_0x24;
/* 0x28 */ f32 field_0x28;
/* 0x2C */ f32 field_0x2c;
/* 0x30 */ f32 field_0x30;
/* 0x34 */ f32 field_0x34;
/* 0x38 */ int field_0x38;
/* 0x3C */ int field_0x3c;
/* 0x40 */ int field_0x40;
/* 0x38 */ u32 field_0x38;
/* 0x3C */ u32 field_0x3c;
/* 0x40 */ u32 field_0x40;
/* 0x44 */ u32 field_0x44[2];
/* 0x4C */ u8 field_0x4c;
};