NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
wenc.h
1#ifndef RVL_SDK_WENC_H
2#define RVL_SDK_WENC_H
3#include <types.h>
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef enum {
9 WENC_FLAG_USER_INFO = (1 << 0),
10} WENCFlag;
11
12typedef struct WENCInfo {
13 s32 xn; // at 0x0
14 s32 dl; // at 0x4
15 s32 qn; // at 0x8
16 s32 dn; // at 0xC
17 s32 dlh; // at 0x10
18 s32 dlq; // at 0x14
19 u8 padding[8]; // at 0x18
20} WENCInfo;
21
22s32 WENCGetEncodeData(WENCInfo* info, u32 flag, const s16* pcmData, s32 samples,
23 u8* adpcmData);
24
25#ifdef __cplusplus
26}
27#endif
28#endif