Asterisk - The Open Source Telephony Project  GIT-master-44aef04
Data Fields
ast_dsp Struct Reference

Data Fields

struct ast_dsp_busy_pattern busy_cadence
 
int busycount
 
int busymaybe
 
tone_detect_state_t ced_tone_state
 
tone_detect_state_t cng_tone_state
 
digit_detect_state_t digit_state
 
int digitmode
 
int display_inband_dtmf_warning
 
int dtmf_began
 
struct ast_frame f
 
int faxmode
 
int features
 
int freqcount
 
goertzel_state_t freqs [FREQ_ARRAY_SIZE]
 
float genergy
 
enum gsamp_size gsamp_size
 
int gsamps
 
int historicnoise [DSP_HISTORY]
 
int historicsilence [DSP_HISTORY]
 
fragment_t mute_data [5]
 
int mute_fragments
 
enum prog_mode progmode
 
int ringtimeout
 
unsigned int sample_rate
 
int tcount
 
int threshold
 
int totalnoise
 
int totalsilence
 
int tstate
 

Detailed Description

Examples:
/tmp/asterisk-shallow/main/app.c.

Definition at line 405 of file dsp.c.

Field Documentation

◆ busy_cadence

struct ast_dsp_busy_pattern busy_cadence

Definition at line 416 of file dsp.c.

Referenced by ast_dsp_busydetect(), and ast_dsp_set_busy_pattern().

◆ busycount

int busycount

◆ busymaybe

int busymaybe

Definition at line 414 of file dsp.c.

Referenced by __ast_dsp_silence_noise(), and ast_dsp_busydetect().

◆ ced_tone_state

tone_detect_state_t ced_tone_state

◆ cng_tone_state

tone_detect_state_t cng_tone_state

◆ digit_state

digit_detect_state_t digit_state

◆ digitmode

int digitmode

Definition at line 426 of file dsp.c.

Referenced by __ast_dsp_new(), ast_dsp_digitreset(), ast_dsp_process(), and ast_dsp_set_digitmode().

◆ display_inband_dtmf_warning

int display_inband_dtmf_warning

Definition at line 429 of file dsp.c.

Referenced by __ast_dsp_new(), ast_dsp_process(), and ast_dsp_set_features().

◆ dtmf_began

int dtmf_began

Definition at line 428 of file dsp.c.

Referenced by ast_dsp_digitreset(), and ast_dsp_process().

◆ f

struct ast_frame f

Definition at line 406 of file dsp.c.

Referenced by ast_dsp_process().

◆ faxmode

int faxmode

Definition at line 427 of file dsp.c.

Referenced by __ast_dsp_new(), ast_dsp_process(), ast_dsp_set_faxmode(), and ast_fax_detect_init().

◆ features

int features

◆ freqcount

int freqcount

Definition at line 420 of file dsp.c.

Referenced by __ast_dsp_call_progress(), __ast_dsp_new(), and ast_dsp_prog_reset().

◆ freqs

Definition at line 419 of file dsp.c.

Referenced by __ast_dsp_call_progress(), ast_dsp_prog_reset(), and ast_dsp_reset().

◆ genergy

float genergy

Definition at line 430 of file dsp.c.

Referenced by __ast_dsp_call_progress().

◆ gsamp_size

Definition at line 422 of file dsp.c.

Referenced by __ast_dsp_call_progress(), and ast_dsp_prog_reset().

◆ gsamps

int gsamps

Definition at line 421 of file dsp.c.

Referenced by __ast_dsp_call_progress(), ast_dsp_prog_reset(), and ast_dsp_reset().

◆ historicnoise

int historicnoise[DSP_HISTORY]

Definition at line 417 of file dsp.c.

Referenced by __ast_dsp_silence_noise(), ast_dsp_busydetect(), ast_dsp_process(), and ast_dsp_reset().

◆ historicsilence

int historicsilence[DSP_HISTORY]

Definition at line 418 of file dsp.c.

Referenced by __ast_dsp_silence_noise(), ast_dsp_busydetect(), ast_dsp_process(), and ast_dsp_reset().

◆ mute_data

fragment_t mute_data[5]

Definition at line 433 of file dsp.c.

Referenced by ast_dsp_process(), and mute_fragment().

◆ mute_fragments

int mute_fragments

Definition at line 431 of file dsp.c.

Referenced by ast_dsp_process(), ast_dsp_was_muted(), and mute_fragment().

◆ progmode

enum prog_mode progmode

◆ ringtimeout

int ringtimeout

Definition at line 413 of file dsp.c.

Referenced by __ast_dsp_call_progress(), ast_dsp_prog_reset(), and ast_dsp_reset().

◆ sample_rate

unsigned int sample_rate

◆ tcount

int tcount

Definition at line 425 of file dsp.c.

Referenced by __ast_dsp_call_progress(), and ast_dsp_get_tcount().

◆ threshold

int threshold

Definition at line 407 of file dsp.c.

Referenced by __ast_dsp_new(), and ast_dsp_set_threshold().

◆ totalnoise

int totalnoise

Accumulated total talking/noise in ms since last silence.

Definition at line 411 of file dsp.c.

Referenced by __ast_dsp_silence_noise().

◆ totalsilence

int totalsilence

Accumulated total silence in ms since last talking/noise.

Examples:
/tmp/asterisk-shallow/main/app.c.

Definition at line 409 of file dsp.c.

Referenced by __ast_dsp_silence_noise(), __ast_play_and_record(), ast_dsp_reset(), background_detect_exec(), handle_recordfile(), and record_exec().

◆ tstate

int tstate

Definition at line 424 of file dsp.c.

Referenced by __ast_dsp_call_progress(), and ast_dsp_get_tstate().


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