Asterisk - The Open Source Telephony Project  18.5.0
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

Examples:
/usr/src/asterisk-18.5.0/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

Definition at line 437 of file dsp.c.

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

◆ cng_tone_state

tone_detect_state_t cng_tone_state

Definition at line 436 of file dsp.c.

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

◆ 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 430 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 429 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().

◆ freqmode

int freqmode

Definition at line 428 of file dsp.c.

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

◆ freqs

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

Referenced by ast_dsp_process(), and mute_fragment().

◆ mute_fragments

int mute_fragments

Definition at line 432 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:
/usr/src/asterisk-18.5.0/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: