مرجع بنية sound_trigger_hw_device
#include <
sound_trigger.h
>
حقول البيانات |
|
| struct hw_device_t | شائعة |
| 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) |
وصف مفصّل
التعريف في السطر 67 من الملف sound_trigger.h .
مستندات الحقل
| struct hw_device_t common |
التعريف في السطر 68 من الملف sound_trigger.h .
| int(* get_properties)(const struct sound_trigger_hw_device *dev, struct sound_trigger_properties *properties) |
التعريف في السطر 73 من الملف sound_trigger.h .
| 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) |
التعريف في السطر 83 من الملف sound_trigger.h .
| 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) |
التعريف في السطر 100 من الملف sound_trigger.h .
| int(* stop_all_recognitions)(const struct sound_trigger_hw_device *dev) |
التعريف في السطر 116 من الملف sound_trigger.h .
| int(* stop_recognition)(const struct sound_trigger_hw_device *dev, sound_model_handle_t sound_model_handle) |
التعريف في السطر 109 من الملف sound_trigger.h .
| int(* unload_sound_model)(const struct sound_trigger_hw_device *dev, sound_model_handle_t handle) |
التعريف في السطر 93 من الملف sound_trigger.h .
تم إنشاء مستندات هذه البنية من الملف التالي:
- hardware/libhardware/include/hardware/ sound_trigger.h