Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASAudioThread.h
Go to the documentation of this file.
1#ifndef JASAUDIOTHREAD_H
2#define JASAUDIOTHREAD_H
3
6
12
17struct JASAudioThread : public JKRThread, public JASGlobalInstance<JASAudioThread> {
18 /* 8029CCDC */ JASAudioThread(int, int, u32);
19 /* 8029CD4C */ static void create(s32);
20 /* 8029CDC0 */ void stop();
21 /* 8029CDEC */ virtual void* run();
22 /* 8029CF68 */ static void DMACallback();
23 /* 8029CFBC */ static void DSPCallback(void*);
24 /* 8029D028 */ virtual ~JASAudioThread() {}
25
27 static int getDSPSyncCount() { return snIntCount; }
29
31 /* 0x84 */ bool sbPauseFlag; // type unsure
32
33 static volatile int snIntCount; // type unsure
34};
35
36#endif /* JASAUDIOTHREAD_H */
JASAudioMessage
Definition JASAudioThread.h:7
@ AUDIOMSG_DSP
Definition JASAudioThread.h:9
@ AUDIOMSG_STOP
Definition JASAudioThread.h:10
@ AUDIOMSG_DMA
Definition JASAudioThread.h:8
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JASGadget.h:12
static JASAudioThread * getInstance()
Definition JASGadget.h:31
Definition JKRThread.h:23
void(* DSPCallback)(void *task)
Definition dsp.h:46
Definition JASAudioThread.h:17
virtual void * run()
Definition JASAudioThread.cpp:59
static int getDSPSyncCount()
Definition JASAudioThread.h:27
static void setDSPSyncCount(u32 param_0)
Definition JASAudioThread.h:28
bool sbPauseFlag
Definition JASAudioThread.h:31
static void DMACallback()
Definition JASAudioThread.cpp:102
void stop()
Definition JASAudioThread.cpp:34
virtual ~JASAudioThread()
Definition JASAudioThread.h:24
static void create(s32)
Definition JASAudioThread.cpp:27
static volatile int snIntCount
Definition JASAudioThread.h:33
OSThreadQueue sThreadQueue
Definition JASAudioThread.h:30
static JASAudioThread * getThreadPointer()
Definition JASAudioThread.h:26
Definition OSThread.h:41
unsigned long u32
Definition types.h:10
signed long s32
Definition types.h:6