1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
552 B

#ifndef VOICE_PREPROCESS_H_
#define VOICE_PREPROCESS_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef struct rk_process_api_ {
int (*start)();
int (*quueCaputureBuffer)(void *buf, int size);
int (*queuePlaybackBuffer)(void *buf, int size);
int (*getCapureBuffer)(void *buf, int size);
int (*getPlaybackBuffer)(void *buf, int size);
int (*flush)();
} rk_process_api;
rk_process_api* rk_voiceprocess_create(int ply_sr, int ply_ch, int cap_sr, int cap_ch);
int rk_voiceprocess_destory();
#ifdef __cplusplus
}
#endif
#endif