Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
talk_detect_params Struct Reference

Private data structure used with the function's datastore. More...

Data Fields

struct ast_audiohook audiohook
 
struct ast_dspdsp
 
int dsp_silence_threshold
 
int dsp_talking_threshold
 
int talking
 
struct timeval talking_start
 

Detailed Description

Private data structure used with the function's datastore.

Definition at line 139 of file func_talkdetect.c.

Field Documentation

struct ast_audiohook audiohook

The audiohook for the function

Definition at line 141 of file func_talkdetect.c.

struct ast_dsp* dsp

The DSP used to do the heavy lifting

Definition at line 151 of file func_talkdetect.c.

int dsp_silence_threshold

How long we'll wait before we decide someone is silent

Definition at line 145 of file func_talkdetect.c.

int dsp_talking_threshold

Our threshold above which we consider someone talking

Definition at line 143 of file func_talkdetect.c.

int talking

Whether or not the user is currently talking

Definition at line 147 of file func_talkdetect.c.

struct timeval talking_start

The time the current burst of talking started

Definition at line 149 of file func_talkdetect.c.


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