28#if !defined(_SPANDSP_FAX_H_)
29#define _SPANDSP_FAX_H_
40#if defined(__cplusplus)
134#if defined(__cplusplus)
int fax_rx_fillin(fax_state_t *s, int len)
Apply fake T.30 receive processing.
Definition: fax.c:183
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:385
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:373
int fax_restart(fax_state_t *s, bool calling_party)
Restart a FAX context.
Definition: fax.c:397
int fax_free(fax_state_t *s)
Free a FAX context.
Definition: fax.c:523
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:164
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:391
int fax_release(fax_state_t *s)
Release a FAX context.
Definition: fax.c:515
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:379
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:212
fax_state_t * fax_init(fax_state_t *s, bool calling_party)
Initialise a FAX context.
Definition: fax.c:458
Definition: private/fax.h:36
Definition: private/logging.h:34
Definition: private/t30.h:36