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_tgnition ,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.h67行的定義。

現場文檔

結構體hw_device_t公共

定義位於檔案sound_trigger.h68行。

int(* get_properties)(const struct sound_trigger_hw_device *dev, struct sound_trigger_properties *properties)

檔案sound_trigger.h73行的定義。

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_thandleback_t

定義位於檔案sound_trigger.h83行。

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_tookie , v.

定義位於檔案sound_trigger.h100行。

int(* stop_all_recognitions)(const struct sound_trigger_hw_device *dev)

檔案sound_trigger.h116行的定義。

int(* stop_recognition)(const struct sound_trigger_hw_device *dev, sound_model_handle_t sound_model_handle)

檔案sound_trigger.h109行的定義。

int(* unload_sound_model)(const struct sound_trigger_hw_device *dev, sound_model_handle_t 句柄)

檔案sound_trigger.h93行的定義。


該結構的文檔是從以下文件產生的: