28 lines
629 B
C
28 lines
629 B
C
#ifndef _SPEECH_INIT_H_
|
|||
|
|
#define _SPEECH_INIT_H_
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
#include "esp_err.h"
|
||
|
|
#include "config.h"
|
||
|
|
|
||
|
|
extern srmodel_list_t *models;
|
||
|
|
extern afe_config_t *afe_config;
|
||
|
|
extern esp_afe_sr_iface_t *afe_handle;
|
||
|
|
extern esp_afe_sr_data_t *afe_data;
|
||
|
|
extern const esp_mn_iface_t *multinet;
|
||
|
|
extern model_iface_data_t *model_data;
|
||
|
|
extern char *mn_name;
|
||
|
|
// /** 语音模块初始化(模型/命令词/任务等) */
|
||
|
|
// esp_err_t speech_init(void);
|
||
|
|
|
||
|
|
// /** 语音模块反初始化(释放模型/队列/任务等) */
|
||
|
|
// esp_err_t speech_deinit(void);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif /* _SPEECH_INIT_H_ */
|