CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
asr_process_callback.h
浏览该文件的文档.
1 
15 #ifndef _ASR_PROCESS_CALLBACK_H_
16 #define _ASR_PROCESS_CALLBACK_H_
17 
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 #include "command_info.h"
24 
38 int vadstart_callback(unsigned int* pdata ,int line);
39 
40 
48 int vadprocess_callback(unsigned int* pdata ,int line);
49 
58 int vadend_callback(unsigned int* pdata,int line);
59 
67  int set_pcm_vad_mark_flag(short *pcm_data,int frame_len);
68 
73 int computevad_callback(int asrpcmbuf_addr,int pcm_byte_size, short asrfrmshift,unsigned int asrpcmbuf_start_addr,unsigned int asrpcmbuf_end_addr);
74 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 
82 #endif
83 
84 /***************** (C) COPYRIGHT Chipintelli Technology Co., Ltd. *****END OF FILE****/
int vadend_callback(unsigned int *pdata, int line)
asr 系统中 vadend的回调函数,当触发vad end 时,libasr库里面会调用该函数; 根据需要可自行在该函数中添...
Definition: asr_process_callback.c:180
int vadprocess_callback(unsigned int *pdata, int line)
asr 系统中 vadstart后,vadend前,每帧(帧长10ms)语音调用一次该函数,libasr库里面会调用该函数 根据需要...
Definition: asr_process_callback.c:166
此模块用于查询和读取命令词信息(来源于命令词信息excel表格).
int set_pcm_vad_mark_flag(short *pcm_data, int frame_len)
asr 系统中 vadstart,vadend 标记函数,每帧(帧长10ms)会调用一次,呈现在实时的语音信号上面,方便debug观...
Definition: asr_process_callback.c:34
int computevad_callback(int asrpcmbuf_addr, int pcm_byte_size, short asrfrmshift, unsigned int asrpcmbuf_start_addr, unsigned int asrpcmbuf_end_addr)
可删除,调试函数
Definition: asr_process_callback.c:187
int vadstart_callback(unsigned int *pdata, int line)
asr 系统中 vadstart的回调函数,当触发vad start时,libasr库里面会调用该函数; 根据需要可自行在该函数中...
Definition: asr_process_callback.c:154