mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
various Z2Audio / JAudio debug cleanup (#2876)
* some JAudio work * audio cleanup checkpoint * checkpoint more audio cleanup * fix symbols * more z2 cleanup * fix regression * fix build * some fixes
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include "JSystem/JKernel/JKRThread.h"
|
||||
#include "JSystem/JAudio2/JASHeapCtrl.h"
|
||||
|
||||
typedef void (*JASThreadCallback)(void*);
|
||||
|
||||
/**
|
||||
* @ingroup jsystem-jaudio
|
||||
*
|
||||
@@ -11,27 +13,27 @@
|
||||
class JASTaskThread : public JKRThread {
|
||||
private:
|
||||
struct JASThreadCallStack {
|
||||
/* 0x00 */ void (*mRunFunc)(void*);
|
||||
/* 0x04 */ u32 field_0x4;
|
||||
/* 0x00 */ JASThreadCallback callback_;
|
||||
/* 0x04 */ u32 msgType_;
|
||||
/* 0x08 */ union {
|
||||
u8 buffer[0x400];
|
||||
void* pBuffer;
|
||||
}field_0x8;
|
||||
void* bufferPtr;
|
||||
} msg;
|
||||
};
|
||||
public:
|
||||
typedef JASMemChunkPool<1024, JASThreadingModel::ObjectLevelLockable> ThreadMemPool;
|
||||
|
||||
/* 8028F6C4 */ JASTaskThread(int, int, u32);
|
||||
/* 8028F9EC */ void* allocCallStack(void (*)(void*), void*);
|
||||
/* 8028F850 */ void* allocCallStack(void (*)(void*), void const*, u32);
|
||||
/* 8028FC54 */ int sendCmdMsg(void (*)(void*), void*);
|
||||
/* 8028FB5C */ int sendCmdMsg(void (*)(void*), void const*, u32);
|
||||
/* 8028F6C4 */ JASTaskThread(int priority, int msgCount, u32 stackSize);
|
||||
/* 8028F9EC */ void* allocCallStack(JASThreadCallback callback, void* msg);
|
||||
/* 8028F850 */ void* allocCallStack(JASThreadCallback callback, const void* msg, u32 msgSize);
|
||||
/* 8028FC54 */ int sendCmdMsg(JASThreadCallback callback, void* msg);
|
||||
/* 8028FB5C */ int sendCmdMsg(JASThreadCallback callback, const void* msg, u32 msgSize);
|
||||
/* 8028FE88 */ void pause(bool);
|
||||
|
||||
/* 8028F724 */ virtual ~JASTaskThread();
|
||||
/* 8028FD4C */ virtual void* run();
|
||||
|
||||
/* 0x7C */ OSThreadQueue mpThreadQueue;
|
||||
/* 0x7C */ OSThreadQueue threadQueue_;
|
||||
/* 0x84 */ bool field_0x84;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user