diff options
author | Michael Panzlaff <michael.panzlaff@fau.de> | 2021-07-07 00:24:21 +0200 |
---|---|---|
committer | Michael Panzlaff <michael.panzlaff@fau.de> | 2021-08-25 18:03:47 +0200 |
commit | c607834736e32183b56150e478f90ee7edc233af (patch) | |
tree | fda6ef15f68ebc46a1d2a9476a7daaa6387393af /arm7/lib/include | |
parent | d5304686baf62f8bd2faa40884278b060e24671e (diff) |
arm7: decompile SND_capture
Diffstat (limited to 'arm7/lib/include')
-rw-r--r-- | arm7/lib/include/SND_capture.h | 5 | ||||
-rw-r--r-- | arm7/lib/include/registers.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arm7/lib/include/SND_capture.h b/arm7/lib/include/SND_capture.h index 78a09efa..1878f90e 100644 --- a/arm7/lib/include/SND_capture.h +++ b/arm7/lib/include/SND_capture.h @@ -1,6 +1,9 @@ #ifndef GUARD_SND_CAPTURE_H #define GUARD_SND_CAPTURE_H -BOOL SND_IsCaptureActive(s32 idx); +#include "nitro/types.h" + +void SND_SetupCapture(int idx, int format, void *captureData, int size, BOOL loop, int capCtrlSrc, int capCtrlDst); +BOOL SND_IsCaptureActive(int idx); #endif //GUARD_SND_CAPTURE_H diff --git a/arm7/lib/include/registers.h b/arm7/lib/include/registers.h index bc55d0d8..e9280957 100644 --- a/arm7/lib/include/registers.h +++ b/arm7/lib/include/registers.h @@ -12,6 +12,8 @@ #define reg_SOUNDxPNT(x) (*((REGType16v *)0x400040A + ((int)x) * 0x10)) #define reg_SOUNDxLEN(x) (*((REGType32v *)0x400040C + ((int)x) * 0x10)) +#define reg_SNDCAPxCNT(x) (*((REGType8v *)0x4000508 + ((int)(x)))) + #define EXTKEYIN_X (1<<0) #define EXTKEYIN_Y (1<<1) #define EXTKEYIN_DEBUG (1<<3) |