#include <speech.h>
Public Member Functions | |
AST_LIST_ENTRY (ast_speech_engine) list | |
Data Fields | |
int(* | activate )(struct ast_speech *speech, char *grammar_name) |
int(* | change )(struct ast_speech *speech, char *name, const char *value) |
int(* | change_results_type )(struct ast_speech *speech, enum ast_speech_results_type results_type) |
int(* | create )(struct ast_speech *speech) |
int(* | deactivate )(struct ast_speech *speech, char *grammar_name) |
int(* | destroy )(struct ast_speech *speech) |
int(* | dtmf )(struct ast_speech *speech, const char *dtmf) |
int | formats |
ast_speech_result *(* | get )(struct ast_speech *speech) |
int(* | load )(struct ast_speech *speech, char *grammar_name, char *grammar) |
char * | name |
int(* | start )(struct ast_speech *speech) |
int(* | unload )(struct ast_speech *speech, char *grammar_name) |
int(* | write )(struct ast_speech *speech, void *data, int len) |
Definition at line 69 of file speech.h.
AST_LIST_ENTRY | ( | ast_speech_engine | ) |
int(* activate)(struct ast_speech *speech, char *grammar_name) |
Activate a loaded grammar
Referenced by ast_speech_grammar_activate().
int(* change)(struct ast_speech *speech, char *name, const char *value) |
Change an engine specific setting
Referenced by ast_speech_change().
int(* change_results_type)(struct ast_speech *speech, enum ast_speech_results_type results_type) |
Change the type of results we want back
Referenced by ast_speech_change_results_type().
int(* create)(struct ast_speech *speech) |
Set up the speech structure within the engine
Referenced by ast_speech_new().
int(* deactivate)(struct ast_speech *speech, char *grammar_name) |
Deactivate a loaded grammar
Referenced by ast_speech_grammar_deactivate().
int(* destroy)(struct ast_speech *speech) |
Destroy any data set on the speech structure by the engine
Referenced by ast_speech_destroy().
int(* dtmf)(struct ast_speech *speech, const char *dtmf) |
Signal DTMF was received
Referenced by ast_speech_dtmf().
struct ast_speech_result*(* get)(struct ast_speech *speech) |
Try to get results
Referenced by ast_speech_results_get().
int(* load)(struct ast_speech *speech, char *grammar_name, char *grammar) |
Load a local grammar on the speech structure
Referenced by ast_speech_grammar_load().
char* name |
Name of speech engine
Definition at line 71 of file speech.h.
Referenced by ast_speech_register(), ast_speech_unregister(), and find_engine().
int(* start)(struct ast_speech *speech) |
Prepare engine to accept audio
Referenced by ast_speech_start().
int(* unload)(struct ast_speech *speech, char *grammar_name) |
Unload a local grammar
Referenced by ast_speech_grammar_unload().
int(* write)(struct ast_speech *speech, void *data, int len) |
Write audio to the speech engine
Referenced by ast_speech_write().