Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_speech Struct Reference

#include <speech.h>

Collaboration diagram for ast_speech:
Collaboration graph
[legend]

Data Fields

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

Detailed Description

Definition at line 54 of file speech.h.

Field Documentation

◆ data

void* data

◆ engine

struct ast_speech_engine* engine

◆ flags

unsigned int flags

Set flags

Definition at line 58 of file speech.h.

◆ format

struct ast_format* format

Expected write format

Definition at line 64 of file speech.h.

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

◆ lock

Structure lock

Definition at line 56 of file speech.h.

Referenced by ast_speech_destroy(), ast_speech_new(), handle_speechrecognize(), and speech_background().

◆ processing_sound

char* processing_sound

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

Definition at line 60 of file speech.h.

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

◆ results

struct ast_speech_result* results

◆ results_type

enum ast_speech_results_type results_type

Type of results we want

Definition at line 70 of file speech.h.

Referenced by ast_speech_change_results_type().

◆ state

int state

Current state of structure

Definition at line 62 of file speech.h.

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


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