mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
32 lines
621 B
C
32 lines
621 B
C
#ifndef AUDIOTHREAD_H
|
|
#define AUDIOTHREAD_H
|
|
|
|
#include "types.h"
|
|
#include "jaudio_NES/audiostruct.h"
|
|
#include "dolphin/os.h"
|
|
|
|
#define AUDIO_THREAD_FLAG_DVD (1 << 0)
|
|
#define AUDIO_THREAD_FLAG_AUDIO (1 << 1)
|
|
#define AUDIO_THREAD_FLAG_NEOS (1 << 2)
|
|
|
|
extern volatile int intcount;
|
|
OSThread jac_audioThread[3];
|
|
OSThread jac_neosThread;
|
|
OSThread jac_dvdThread;
|
|
|
|
extern void NeosSync(void);
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void DspSyncCountClear(int count);
|
|
extern int DspSyncCountCheck(void);
|
|
extern void StartAudioThread(void* pHeap, s32 heapSize, u32 aramSize, u32 flags);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|