sound_trigger_hw_device Struct Reference

sound_trigger_hw_device Struct Reference

#include < sound_trigger.h >

Data Fields

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)
 

Detailed Description

Definition at line 67 of file sound_trigger.h .

Field Documentation

struct hw_device_t common

Definition at line 68 of file sound_trigger.h .

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

Definition at line 73 of file 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)

Definition at line 83 of file 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)

Definition at line 100 of file sound_trigger.h .

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

Definition at line 116 of file sound_trigger.h .

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

Definition at line 109 of file sound_trigger.h .

int(* unload_sound_model)(const struct sound_trigger_hw_device *dev, sound_model_handle_t handle)

Definition at line 93 of file sound_trigger.h .


The documentation for this struct was generated from the following file: