blob: e2ec47dde320cfa70513645ab87e5c7f226351c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef RVL_SDK_WENC_H
#define RVL_SDK_WENC_H
#include "common.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
WENC_FLAG_USER_INFO = (1 << 0),
} WENCFlag;
typedef struct WENCInfo {
s32 xn; // at 0x0
s32 dl; // at 0x4
s32 qn; // at 0x8
s32 dn; // at 0xC
s32 dlh; // at 0x10
s32 dlq; // at 0x14
u8 padding[8]; // at 0x18
} WENCInfo;
s32 WENCGetEncodeData(WENCInfo *info, u32 flag, const s16 *pcmData, s32 samples, u8 *adpcmData);
#ifdef __cplusplus
}
#endif
#endif
|