mirror of
https://github.com/zeldaret/ss
synced 2026-05-30 00:46:41 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
28 lines
548 B
C
28 lines
548 B
C
#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
|