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

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

Collaboration diagram for talk_detect_params:
Collaboration graph
[legend]

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

◆ audiohook

struct ast_audiohook audiohook

The audiohook for the function

Definition at line 141 of file func_talkdetect.c.

Referenced by datastore_destroy_cb(), remove_talk_detect(), and set_talk_detect().

◆ dsp

struct ast_dsp* dsp

The DSP used to do the heavy lifting

Definition at line 151 of file func_talkdetect.c.

Referenced by datastore_destroy_cb(), set_talk_detect(), and talk_detect_audiohook_cb().

◆ dsp_silence_threshold

int dsp_silence_threshold

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

Definition at line 145 of file func_talkdetect.c.

Referenced by set_talk_detect(), talk_detect_audiohook_cb(), and talk_detect_fn_write().

◆ dsp_talking_threshold

int dsp_talking_threshold

Our threshold above which we consider someone talking

Definition at line 143 of file func_talkdetect.c.

Referenced by set_talk_detect(), and talk_detect_fn_write().

◆ talking

int talking

Whether or not the user is currently talking

Definition at line 147 of file func_talkdetect.c.

Referenced by talk_detect_audiohook_cb().

◆ talking_start

struct timeval talking_start

The time the current burst of talking started

Definition at line 149 of file func_talkdetect.c.

Referenced by talk_detect_audiohook_cb().


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