sound_trigger_hw_device结构参考
sound_trigger_hw_device结构参考
#include < sound_trigger.h >
数据字段 | |
结构体hw_device_t | 常见的 |
整数(* | get_properties )(const struct sound_trigger_hw_device *dev,struct sound_trigger_properties *properties) |
整数(* | load_sound_model )(const struct sound_trigger_hw_device *dev、struct sound_trigger_sound_model *sound_model、 sound_model_callback_t回调、void *cookie、sound_model_handle_t *handle) |
整数(* | unload_sound_model )(const struct sound_trigger_hw_device *dev,sound_model_handle_t 句柄) |
整数(* | start_recognition )(const struct sound_trigger_hw_device *dev,sound_model_handle_t sound_model_handle,const struct sound_trigger_recognition_config *config, recognition_callback_t回调,void *cookie) |
整数(* | stop_recognition )(const struct sound_trigger_hw_device *dev,sound_model_handle_t sound_model_handle) |
整数(* | stop_all_recognitions )(const struct sound_trigger_hw_device *dev) |
详细说明
文件sound_trigger.h第67行的定义。
现场文档
结构体hw_device_t公共 |
定义位于文件sound_trigger.h第68行。
int(* get_properties)(const struct sound_trigger_hw_device *dev, struct sound_trigger_properties *properties) |
文件sound_trigger.h第73行的定义。
int(* load_sound_model)(const struct sound_trigger_hw_device *dev, struct sound_trigger_sound_model *sound_model, sound_model_callback_t回调, void *cookie, sound_model_handle_t *handle) |
定义位于文件sound_trigger.h第83行。
int(* start_recognition)(const struct sound_trigger_hw_device *dev, sound_model_handle_t sound_model_handle, const struct sound_trigger_recognition_config *config, recognize_callback_t回调, void *cookie) |
定义位于文件sound_trigger.h第100行。
int(* stop_all_recognitions)(const struct sound_trigger_hw_device *dev) |
文件sound_trigger.h第116行的定义。
int(* stop_recognition)(const struct sound_trigger_hw_device *dev, sound_model_handle_t sound_model_handle) |
文件sound_trigger.h第109行的定义。
int(* unload_sound_model)(const struct sound_trigger_hw_device *dev, sound_model_handle_t 句柄) |
文件sound_trigger.h第93行的定义。
该结构的文档是从以下文件生成的:
- 硬件/libhardware/include/hardware/ sound_trigger.h