28 #if !defined(_SPANDSP_FAX_H_) 29 #define _SPANDSP_FAX_H_ 40 #if defined(__cplusplus) 134 #if defined(__cplusplus) Definition: private/t30.h:35
logging_state_t * fax_get_logging_state(fax_state_t *s)
Get a pointer to the logging context associated with a FAX context.
Definition: fax.c:442
int fax_restart(fax_state_t *s, bool calling_party)
Restart a FAX context.
Definition: fax.c:448
void fax_set_transmit_on_idle(fax_state_t *s, int transmit_on_idle)
Select whether silent audio will be sent when FAX transmit is idle.
Definition: fax.c:424
Definition: private/fax.h:35
int fax_tx(fax_state_t *s, int16_t *amp, int max_len)
Apply T.30 transmit processing to generate a block of audio samples.
Definition: fax.c:221
int fax_release(fax_state_t *s)
Release a FAX context.
Definition: fax.c:566
Definition: private/logging.h:33
int fax_free(fax_state_t *s)
Free a FAX context.
Definition: fax.c:574
fax_state_t * fax_init(fax_state_t *s, bool calling_party)
Initialise a FAX context.
Definition: fax.c:509
t30_state_t * fax_get_t30_state(fax_state_t *s)
Get a pointer to the T.30 engine associated with a FAX context.
Definition: fax.c:436
int fax_rx_fillin(fax_state_t *s, int len)
Apply fake T.30 receive processing.
Definition: fax.c:190
void fax_set_tep_mode(fax_state_t *s, int use_tep)
Select whether TEP will be sent for the image modems.
Definition: fax.c:430
int fax_rx(fax_state_t *s, int16_t *amp, int len)
Apply T.30 receive processing to a block of audio samples.
Definition: fax.c:170