mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-11 05:04:42 -04:00
link playercall
This commit is contained in:
@@ -894,6 +894,15 @@ typedef union SOUNDID_ {
|
||||
u32 uint32;
|
||||
} SOUNDID;
|
||||
|
||||
typedef s32 (*PlayerCallBack)(void*);
|
||||
|
||||
typedef struct PLAYER_CALL_ {
|
||||
PlayerCallBack callback;
|
||||
void* arg;
|
||||
u32 DSP_mode;
|
||||
} PLAYER_CALL;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -2,15 +2,22 @@
|
||||
#define PLAYERCALL_H
|
||||
|
||||
#include "types.h"
|
||||
#include "jaudio_NES/audiostruct.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern void ResetPlayerCallback(void);
|
||||
extern void ResetPlayerCallback();
|
||||
extern s32 Jac_RegisterDspPlayerCallback(PlayerCallBack callback, void* arg);
|
||||
extern s32 Jac_RegisterPlayerCallback(PlayerCallBack callback, void* arg);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
extern void PlayerCallback();
|
||||
extern void DspPlayerCallback();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user