Referência da estrutura sound_trigger_hw_device
#include <
sound_trigger.h
>
Campos de dados |
|
struct hw_device_t | comum |
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) |
Descrição detalhada
Definição na linha 67 do arquivo sound_trigger.h .
Documentação do campo
struct hw_device_t common |
Definição na linha 68 do arquivo sound_trigger.h .
int(* get_properties)(const struct sound_trigger_hw_device *dev, struct sound_trigger_properties *properties) |
Definição na linha 73 do arquivo 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) |
Definição na linha 83 do arquivo 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) |
Definição na linha 100 do arquivo sound_trigger.h .
int(* stop_all_recognitions)(const struct sound_trigger_hw_device *dev) |
Definição na linha 116 do arquivo sound_trigger.h .
int(* stop_recognition)(const struct sound_trigger_hw_device *dev, sound_model_handle_t sound_model_handle) |
Definição na linha 109 do arquivo sound_trigger.h .
int(* unload_sound_model)(const struct sound_trigger_hw_device *dev, sound_model_handle_t handle) |
Definição na linha 93 do arquivo sound_trigger.h .
A documentação desse struct foi gerada com base no seguinte arquivo:
- hardware/libhardware/include/hardware/ sound_trigger.h