spandsp 3.0.0
t31_state_s Struct Reference

#include <t31.h>

Classes

struct  [struct].hdlc_tx
struct  [struct].non_ecm_tx

Public Attributes

at_state_t at_state
t31_modem_control_handler_t modem_control_handler
void * modem_control_user_data
t31_audio_front_end_state_t audio
t31_t38_front_end_state_t t38_fe
bool t38_mode
struct  hdlc_tx
struct  non_ecm_tx
bool dled
int silence_awaited
 Samples of silence awaited, as specified in a "wait for silence" command.
int bit_rate
 The current bit rate for the FAX fast message transfer modem.
bool rx_frame_received
 True if a valid HDLC frame has been received in the current reception period.
int64_t call_samples
 Samples elapsed in the current call.
int64_t dte_data_timeout
int modem
 The currently queued modem type.
bool short_train
 True when short training mode has been selected by the computer.
queue_state_trx_queue
logging_state_t logging
 Error and flow logging control.

Detailed Description

T.31 descriptor. This defines the working state for a single instance of a T.31 FAX modem.

Member Data Documentation

◆ call_samples

int64_t t31_state_s::call_samples

Samples elapsed in the current call.

Referenced by t31_init(), t31_rx(), and t31_rx_fillin().

◆ dled

bool t31_state_s::dled

True if DLE prefix just used

◆ logging

logging_state_t t31_state_s::logging

Error and flow logging control.

Referenced by t31_get_logging_state(), t31_init(), and t31_set_mode().

◆ modem

int t31_state_s::modem

The currently queued modem type.

Referenced by t31_init().

◆ silence_awaited

int t31_state_s::silence_awaited

Samples of silence awaited, as specified in a "wait for silence" command.

Referenced by t31_init().

◆ t38_mode

bool t31_state_s::t38_mode

True if working in T.38 mode.

Referenced by t31_init(), and t31_set_mode().


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