#include <speech.h>

Data Fields | |
| void * | data |
| struct ast_speech_engine * | engine |
| unsigned int | flags |
| int | format |
| ast_mutex_t | lock |
| char * | processing_sound |
| struct ast_speech_result * | results |
| enum ast_speech_results_type | results_type |
| int | state |
| void* data |
| struct ast_speech_engine* engine |
Pointer to the engine used by this speech structure
Definition at line 69 of file speech.h.
Referenced by ast_speech_grammar_activate(), ast_speech_grammar_deactivate(), ast_speech_grammar_load(), ast_speech_grammar_unload(), ast_speech_results_get(), ast_speech_start(), ast_speech_write(), ast_speech_dtmf(), ast_speech_change(), ast_speech_new(), ast_speech_destroy(), and ast_speech_change_results_type().
| int format |
Expected write format
Definition at line 61 of file speech.h.
Referenced by speech_background(), and ast_speech_new().
Structure lock
Definition at line 53 of file speech.h.
Referenced by speech_background(), handle_speechrecognize(), ast_speech_new(), and ast_speech_destroy().
| char* processing_sound |
Processing sound (used when engine is processing audio and getting results)
Definition at line 57 of file speech.h.
Referenced by speech_processing_sound(), speech_background(), handle_speechrecognize(), and ast_speech_destroy().
| struct ast_speech_result* results |
Cached results
Definition at line 65 of file speech.h.
Referenced by speech_score(), speech_text(), speech_grammar(), speech_read(), speech_background(), handle_speechrecognize(), ast_speech_start(), ast_speech_new(), and ast_speech_destroy().
Type of results we want
Definition at line 67 of file speech.h.
Referenced by ast_speech_change_results_type().
| int state |
Current state of structure
Definition at line 59 of file speech.h.
Referenced by speech_background(), handle_speechrecognize(), ast_speech_write(), ast_speech_dtmf(), and ast_speech_change_state().