Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_dsp Struct Reference
Collaboration diagram for ast_dsp:
Collaboration graph
[legend]

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
 
int freqmode
 
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

Definition at line 407 of file dsp.c.

Field Documentation

◆ busy_cadence

struct ast_dsp_busy_pattern busy_cadence

Definition at line 418 of file dsp.c.

Referenced by ast_dsp_busydetect(), and ast_dsp_set_busy_pattern().

◆ busycount

int busycount

◆ busymaybe

int busymaybe

Definition at line 416 of file dsp.c.

Referenced by __ast_dsp_silence_noise(), and ast_dsp_busydetect().

◆ ced_tone_state

tone_detect_state_t ced_tone_state

Definition at line 439 of file dsp.c.

Referenced by ast_dsp_process(), and ast_fax_detect_init().

◆ cng_tone_state

tone_detect_state_t cng_tone_state

Definition at line 438 of file dsp.c.

Referenced by ast_dsp_process(), ast_fax_detect_init(), and ast_freq_detect_init().

◆ digit_state

digit_detect_state_t digit_state

Definition at line 437 of file dsp.c.

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

◆ digitmode

int digitmode

Definition at line 428 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 432 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 431 of file dsp.c.

Referenced by ast_dsp_digitreset(), and ast_dsp_process().

◆ f

struct ast_frame f

Definition at line 408 of file dsp.c.

Referenced by ast_dsp_process().

◆ faxmode

int faxmode

Definition at line 429 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 422 of file dsp.c.

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

◆ freqmode

int freqmode

Definition at line 430 of file dsp.c.

Referenced by ast_dsp_process(), ast_dsp_set_freqmode(), and ast_freq_detect_init().

◆ freqs

Definition at line 421 of file dsp.c.

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

◆ genergy

float genergy

Definition at line 433 of file dsp.c.

Referenced by __ast_dsp_call_progress().

◆ gsamp_size

Definition at line 424 of file dsp.c.

Referenced by __ast_dsp_call_progress(), and ast_dsp_prog_reset().

◆ gsamps

int gsamps

Definition at line 423 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 419 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 420 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 436 of file dsp.c.

Referenced by ast_dsp_process(), and mute_fragment().

◆ mute_fragments

int mute_fragments

Definition at line 434 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 415 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 427 of file dsp.c.

Referenced by __ast_dsp_call_progress(), and ast_dsp_get_tcount().

◆ threshold

int threshold

Definition at line 409 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 413 of file dsp.c.

Referenced by __ast_dsp_silence_noise().

◆ totalsilence

int totalsilence

Accumulated total silence in ms since last talking/noise.

Definition at line 411 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 426 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: