diff options
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) |