sound_trigger_hw_device 構造体リファレンス
#include <
sound_trigger.h
>
データ フィールド |
|
| struct hw_device_t | common |
| int(* | get_properties )(const struct sound_trigger_hw_device *dev, struct sound_trigger_properties *properties) |
| int(* | load_sound_model )(const struct sound_trigger_hw_device *dev, struct sound_trigger_sound_model *sound_model, sound_model_callback_t callback, void *cookie, sound_model_handle_t *handle) |
| int(* | unload_sound_model )(const struct sound_trigger_hw_device *dev, sound_model_handle_t handle) |
| int(* | 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 callback, void *cookie) |
| int(* | stop_recognition )(const struct sound_trigger_hw_device *dev, sound_model_handle_t sound_model_handle) |
| int(* | stop_all_recognitions )(const struct sound_trigger_hw_device *dev) |
詳細な説明
ファイル sound_trigger.h の 67 行 に定義されています。
フィールドのドキュメント
| struct hw_device_t common |
ファイル 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 callback, 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, recognition_callback_t callback, 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 handle) |
ファイル sound_trigger.h の 93 行 の定義。
この構造体のドキュメントは、次のファイルから生成されました。
- hardware/libhardware/include/hardware/ sound_trigger.h