This commit is contained in:
lmx
2025-10-29 13:10:02 +08:00
commit 49a07fa419
2284 changed files with 642060 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#ifndef _AISPEECH_VAD_ASR_DEMO_H
#define _AISPEECH_VAD_ASR_DEMO_H
#ifdef __cplusplus
extern "C" {
#endif
void *aispeech_vad_asr_init(void);
void aispeech_vad_asr_deinit(void);
int aispeech_vad_asr_feed(char *data, int data_len);
typedef int (*asr_output_handler)(int status, const char *json, int bytes);
void aispeech_asr_register_handler(asr_output_handler func);
#ifdef __cplusplus
}
#endif
#endif // _AISPEECH_VAD_ASR_MANAGER_H