Sat Aug 6 00:40:08 2011

Asterisk developer's documentation


ast_speech Struct Reference

#include <speech.h>


Data Fields

void * data
ast_speech_engineengine
unsigned int flags
int format
ast_mutex_t lock
char * processing_sound
ast_speech_resultresults
enum ast_speech_results_type results_type
int state


Detailed Description

Definition at line 47 of file speech.h.


Field Documentation

void* data

Data for speech engine

Definition at line 59 of file speech.h.

struct ast_speech_engine* engine

Pointer to the engine used by this speech structure

Definition at line 65 of file speech.h.

Referenced by ast_speech_change(), ast_speech_change_results_type(), ast_speech_destroy(), ast_speech_dtmf(), ast_speech_grammar_activate(), ast_speech_grammar_deactivate(), ast_speech_grammar_load(), ast_speech_grammar_unload(), ast_speech_new(), ast_speech_results_get(), ast_speech_start(), and ast_speech_write().

unsigned int flags

Set flags

Definition at line 51 of file speech.h.

int format

Expected write format

Definition at line 57 of file speech.h.

ast_mutex_t lock

Structure lock

Definition at line 49 of file speech.h.

Referenced by ast_speech_destroy(), and speech_background().

char* processing_sound

Processing sound (used when engine is processing audio and getting results)

Definition at line 53 of file speech.h.

Referenced by ast_speech_destroy(), speech_background(), and speech_processing_sound().

struct ast_speech_result* results

Cached results

Definition at line 61 of file speech.h.

Referenced by ast_speech_destroy(), ast_speech_start(), speech_background(), speech_grammar(), speech_read(), speech_score(), and speech_text().

enum ast_speech_results_type results_type

Type of results we want

Definition at line 63 of file speech.h.

Referenced by ast_speech_change_results_type().

int state

Current state of structure

Definition at line 55 of file speech.h.

Referenced by ast_speech_dtmf(), ast_speech_write(), and speech_background().


The documentation for this struct was generated from the following file:
Generated on Sat Aug 6 00:40:08 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7