Asterisk - The Open Source Telephony Project  18.5.0
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 118 of file func_talkdetect.c.

Field Documentation

◆ audiohook

struct ast_audiohook audiohook

The audiohook for the function

Definition at line 120 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 130 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 124 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 122 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 126 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 128 of file func_talkdetect.c.

Referenced by talk_detect_audiohook_cb().


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