first
This commit is contained in:
18
include_lib/media/aispeech/asr/include/vad_asr_demo.h
Normal file
18
include_lib/media/aispeech/asr/include/vad_asr_demo.h
Normal 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
|
||||
17
include_lib/media/aispeech/enc/include/aispeech_enc.h
Normal file
17
include_lib/media/aispeech/enc/include/aispeech_enc.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef _AISPEECH_NR_H_
|
||||
#define _AISPEECH_NR_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int Aispeech_NR_getmemsize(short sample_rate);
|
||||
int Aispeech_NR_init(char *pcMemPool, unsigned int memPoolLen, short sample_rate);
|
||||
int Aispeech_NR_run(short *mic0, short *mic1, short *mic2, short *ref, short *out, short points);
|
||||
int Aispeech_NR_deinit(void);
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user