Skip to main content

Crate spandsp_sys

Crate spandsp_sys 

Source

Re-exports§

pub use self::t30_indicator_types_e as t30_indicator_types_t;
pub use self::t38_data_types_e as t38_data_types_t;
pub use self::t38_field_types_e as t38_field_types_t;
pub use self::t38_field_classes_e as t38_field_classes_t;
pub use self::t38_message_types_e as t38_message_types_t;
pub use self::t38_transport_types_e as t38_transport_types_t;
pub use self::t38_data_rate_management_types_e as t38_data_rate_management_types_t;
pub use self::t38_packet_categories_e as t38_packet_categories_t;
pub use self::t38_chunking_mode_e as t38_chunking_mode_t;
pub use self::v150_1_cdscselect_e as v150_1_cdscselect_t;
pub use self::v150_1_modem_relay_gateway_type_e as v150_1_modem_relay_gateway_type_t;

Structs§

ademco_contactid_receiver_state_s
ademco_contactid_report_t
ademco_contactid_sender_state_s
adsi_rx_state_s
adsi_tx_state_s
async_rx_state_s
async_tx_state_s
at_state_s
awgn_state_s
bert_results_t
Bit error rate tester (BERT) results descriptor. This is used to report the results of a BER test.
bert_state_s
bitstream_state_s
channel_parms_t
complexf_t
Floating complex type.
complexi16_t
Complex 16 bit integer type.
complexi32_t
Complex 32 bit integer type.
complexi_t
Complex integer type.
data_modems_state_s
dtmf_rx_state_s
dtmf_tx_state_s
echo_can_state_s
fax_modems_state_s
fax_state_s
fsk_rx_state_s
fsk_spec_t
FSK modem specification. This defines the frequencies, signal levels and baud rate (== bit rate for simple FSK) for a single channel of an FSK modem.
fsk_tx_state_s
g711_state_s
g722_decode_state_s
g722_encode_state_s
g726_state_s
godard_ted_descriptor_s
godard_ted_state_s
goertzel_descriptor_s
Goertzel filter descriptor.
goertzel_state_s
Goertzel filter state descriptor.
gsm0610_frame_t
GSM 06.10 FR codec unpacked frame.
gsm0610_state_s
hdlc_rx_state_s
hdlc_rx_stats_t
HDLC received data statistics.
hdlc_tx_state_s
ima_adpcm_state_s
image_translate_state_s
logging_state_s
lpc10_decode_state_s
lpc10_encode_state_s
lpc10_frame_t
LPC10 codec unpacked frame.
modem_connect_tones_rx_state_s
modem_connect_tones_tx_state_s
modem_echo_can_segment_state_s
modem_echo_can_state_s
noise_state_s
oki_adpcm_state_s
playout_frame_s
playout_state_s
plc_state_s
power_meter_s
power_surge_detector_state_s
queue_state_s
sig_tone_rx_state_s
sig_tone_tx_state_s
silence_gen_state_s
span_sched_s
span_sched_state_s
sprt_state_s
super_tone_rx_descriptor_s
super_tone_rx_segment_s
super_tone_rx_state_s
super_tone_tx_state_s
super_tone_tx_step_s
swept_tone_state_s
t4_rx_state_s
t4_stats_t
T.4 FAX compression/decompression statistics.
t4_t6_decode_state_s
t4_t6_encode_state_s
t4_tx_state_s
t30_exchanged_info_t
t30_state_s
t30_stats_t
t31_state_s
t38_core_state_s
t38_data_field_t
T.38 data field
t38_gateway_state_s
t38_non_ecm_buffer_state_s
t38_stats_t
T.38 gateway results.
t38_terminal_state_s
t42_decode_state_s
t42_encode_state_s
t43_decode_state_s
t43_encode_state_s
t81_t82_arith_decode_state_s
t81_t82_arith_encode_state_s
t85_decode_state_s
t85_encode_state_s
time_scale_state_s
tone_gen_descriptor_s
tone_gen_state_s
tone_gen_tone_descriptor_s
tz_s
v8_cm_jm_parms_s
v8_parms_s
v8_state_s
v17_rx_state_s
v17_tx_state_s
v18_state_s
v22bis_state_s
v27ter_rx_state_s
v27ter_tx_state_s
v29_rx_state_s
v29_tx_state_s
v42_state_s
v42bis_state_s
v80_state_s
v150_1_sse_state_s
v150_1_state_s
v150_1_status_t
v150_1_status_t__bindgen_ty_1__bindgen_ty_1
v150_1_status_t__bindgen_ty_1__bindgen_ty_2
v150_1_status_t__bindgen_ty_1__bindgen_ty_3
v150_1_status_t__bindgen_ty_1__bindgen_ty_4
v150_1_status_t__bindgen_ty_1__bindgen_ty_5
v150_1_status_t__bindgen_ty_1__bindgen_ty_6
v150_1_status_t__bindgen_ty_1__bindgen_ty_7

Enums§

t30_err_e
T.30 protocol completion codes, at phase E.
t30_indicator_types_e
T.38 indicator types
t38_data_types_e
T.38 data types
t38_field_classes_e
T.38 field classes
t38_field_types_e
T.38 data field types
t38_message_types_e
T.38 message types

Constants§

ECHO_CAN_DISABLE
ECHO_CAN_USE_ADAPTION
ECHO_CAN_USE_CLIP
ECHO_CAN_USE_CNG
ECHO_CAN_USE_NLP
ECHO_CAN_USE_RX_HPF
ECHO_CAN_USE_SUPPRESSOR
ECHO_CAN_USE_TX_HPF
G711_ALAW
G711_ALAW_AMI_MASK
G711_ALAW_IDLE_OCTET
G711_ULAW
G711_ULAW_BIAS
G711_ULAW_IDLE_OCTET
G722_PACKED
G722_SAMPLE_RATE_8000
G726_ENCODING_ALAW
G726_ENCODING_LINEAR
G726_ENCODING_ULAW
G726_PACKING_LEFT
G726_PACKING_NONE
G726_PACKING_RIGHT
HDLC_MAXFRAME_LEN
MAX_DTMF_DIGITS
SAMPLE_RATE
SPAN_LOG_DEBUG
SPAN_LOG_DEBUG_2
SPAN_LOG_DEBUG_3
SPAN_LOG_ERROR
SPAN_LOG_FLOW
SPAN_LOG_FLOW_2
SPAN_LOG_FLOW_3
SPAN_LOG_NONE
SPAN_LOG_PROTOCOL_ERROR
SPAN_LOG_PROTOCOL_WARNING
SPAN_LOG_SEVERITY_MASK
SPAN_LOG_SHOW_DATE
SPAN_LOG_SHOW_PROTOCOL
SPAN_LOG_SHOW_SAMPLE_TIME
SPAN_LOG_SHOW_SEVERITY
SPAN_LOG_SHOW_TAG
SPAN_LOG_SHOW_VARIANT
SPAN_LOG_SUPPRESS_LABELLING
SPAN_LOG_WARNING
T4_CCD
[0110 0000] Facsimile coded data
T4_FCD
Information frame types used for error correction mode, in T.4
T4_RCP
[0110 0010] Character coded data
T30_CFR
Pre-message response signals / /! From the receiver to the transmitter.
T30_CIA
[1000 0110] Polled subaddress
T30_CIG
[1000 0001] Digital transmit command
T30_CRP
[X101 1111] Disconnect
T30_CSA
[X010 0011] Response for continue to correct
T30_CSI
[0000 0001] Digital identification signal
T30_CTC
[X100 0101] Sender identification / /! T30_TCF - Training check is a burst of 1.5s of zeros sent using the image modem
T30_CTR
[X010 0010] Failure to train
T30_DCN
Other line control signals
T30_DCS
Commands to receive / /! From a calling terminal wishing to be a transmitter, to a called terminal which is capable of receiving.
T30_DEC
[0000 0101] Digital extended signal
T30_DER
[1100 1001] Digital extended command
T30_DES
[1111 1000] Present signature signal (used only as FCF2)
T30_DIS
Initial identification messages / /! From the called to the calling terminal.
T30_DNK
[1000 1000] Digital turnaround request (conflicts with ISP)
T30_DTC
Commands to send / /! From a calling terminal wishing to be a receiver, to a called terminal which is capable of transmitting.
T30_DTR
[1100 1010] Digital extended request
T30_EOM
Post-message commands
T30_EOP
[X111 0010] Multipage signal
T30_EOR
[X111 1101] Partial page signal
T30_EOS
[X111 1100] Procedure interrupt - end of procedure
T30_ERR
[X011 0111] Receive not ready
T30_FDM
[X011 1000] Response for end of retransmission
T30_FNV
[X101 1000] Command repeat
T30_FRONT_END_CED_PRESENT
The current receive has completed. This is only needed to report an unexpected end of the receive operation, as might happen with T.38 dying.
T30_FRONT_END_CNG_PRESENT
The current receive has completed. This is only needed to report an unexpected end of the receive operation, as might happen with T.38 dying.
T30_FRONT_END_RECEIVE_COMPLETE
The current receive has completed. This is only needed to report an unexpected end of the receive operation, as might happen with T.38 dying.
T30_FRONT_END_SEND_STEP_COMPLETE
T30_FRONT_END_SIGNAL_ABSENT
The current receive has completed. This is only needed to report an unexpected end of the receive operation, as might happen with T.38 dying.
T30_FRONT_END_SIGNAL_PRESENT
The current receive has completed. This is only needed to report an unexpected end of the receive operation, as might happen with T.38 dying.
T30_FTT
[X010 0001] Confirmation to receive
T30_IRA
[X100 0110] Transmitting subscriber internet address
T30_ISP
[1000 0111] Calling subscriber internet address
T30_MAX_DIS_DTC_DCS_LEN
T30_MAX_IDENT_LEN
T30_MAX_PAGE_HEADER_INFO
T30_MCF
Post-message responses
T30_MPS
[X111 0001] End of message
T30_NSC
[1000 0010] Calling subscriber identification
T30_NSF
[0000 0010] Called subscriber identification
T30_NSS
[X100 0010] Transmitting subscriber information
T30_NULL
Something only use as a secondary value in error correcting mode
T30_PID
[X101 1001] Digital not acknowledge
T30_PIN
[X011 0101] Procedure interrupt positive
T30_PIP
[X011 0010] Retrain negative
T30_PPR
[X011 0100] Procedure interrupt negative
T30_PPS
[X111 1000] End of selection
T30_PRI_EOM
[X111 0100] End of procedure
T30_PRI_EOP
[X111 1010] Procedure interrupt - multipage signal
T30_PRI_MPS
[X111 1001] Procedure interrupt - end of procedure
T30_PSA
[1000 0101] Selective polling
T30_PSS
[0101 0010] Receiver keys
T30_PWD
[1000 0100] Non-standard facilities command
T30_RK
[1101 0010] Transmitter keys
T30_RNR
[X011 1101] Partial page request
T30_RR
[X111 0011] End of retransmission
T30_RTN
[X011 0011] Retrain positive
T30_RTP
[X011 0001] Message confirmation
T30_SEP
[1000 0011] Password
T30_SID
[X100 0011] Sub-address
T30_SPI
[X011 0110] Procedure interrupt disconnect
T30_SPT
[0000 1000] Security page indicator
T30_SUB
[X100 0100] Non-standard facilities set-up
T30_SUPPORT_CALLED_SUBSCRIBER_INTERNET_ADDRESS
Enable support of called subscriber internet address, through the CSA frame.
T30_SUPPORT_CALLING_SUBSCRIBER_INTERNET_ADDRESS
Enable support of calling subscriber internet address, through the CIA frame.
T30_SUPPORT_COMMAND_REPEAT
Enable support of the command repeat (CRP) frame.
T30_SUPPORT_FIELD_NOT_VALID
Enable support of the field not valid (FNV) frame.
T30_SUPPORT_IAF
Support the Internet aware FAX mode (no bit rate limit) for image transfer.
T30_SUPPORT_IDENTIFICATION
Enable support of identification, through the SID and/or PWD frames.
T30_SUPPORT_INTERNET_ROUTING_ADDRESS
Enable support of internet routing address, through the IRA frame.
T30_SUPPORT_INTERNET_SELECTIVE_POLLING_ADDRESS
Enable support of internet selective polling address, through the ISP frame.
T30_SUPPORT_MULTIPLE_SELECTIVE_POLLING
Enable support of multiple selective polling, through repeated used of the SEP and PSA frames.
T30_SUPPORT_POLLED_SUB_ADDRESSING
Enable support of polling sub-addressing, through the PSA frame.
T30_SUPPORT_SELECTIVE_POLLING
Enable support of selective polling, through the SEP frame.
T30_SUPPORT_SUB_ADDRESSING
Enable support of sub-addressing, through the SUB frame.
T30_SUPPORT_TRANSMITTING_SUBSCRIBER_INTERNET_ADDRESS
Enable support of transmitting subscriber internet address, through the TSA frame.
T30_SUPPORT_V17
Support the V.17 modem (14400, 12000, 9600 and 7200bps) for image transfer.
T30_SUPPORT_V29
Support the V.29 modem (9600, and 7200bps) for image transfer.
T30_SUPPORT_V27TER
Support the V.27ter modem (2400, and 4800bps) for image transfer.
T30_SUPPORT_V34HDX
Support the V.34 modem (up to 33,600bps) for image transfer.
T30_TK
[X101 0110] Transmitter ready
T30_TNR
[X101 0011] Field not valid
T30_TR
[X101 0111] Transmitter not ready
T30_TSA
[X100 1000] Continue to correct
T30_TSI
[X100 0001] Digital command signal
T38_MAX_HDLC_LEN
T38_NON_ECM_TX_BUF_LEN
T38_RX_BUF_LEN
T38_TERMINAL_OPTION_2S_REPEATING_INDICATORS
This option enables the regular repeat transmission of indicator signals for the first 2s, during periods when no FAX signal transmission occurs.
T38_TERMINAL_OPTION_NO_INDICATORS
This option suppresses the transmission of indicators. This is usually used with TCP/TPKT transmission of T.38 FAXes
T38_TERMINAL_OPTION_NO_PACING
This option enables the continuous streaming of FAX data, with no allowance for FAX machine speeds. This is usually used with TCP/TPKT transmission of T.38 FAXes
T38_TERMINAL_OPTION_REGULAR_INDICATORS
This option enables the regular repeat transmission of indicator signals, during periods when no FAX signal transmission occurs.
T38_TX_BUF_LEN
sprt_status_e_SPRT_STATUS_EXCESS_RETRIES
sprt_status_e_SPRT_STATUS_OK
sprt_status_e_SPRT_STATUS_OUT_OF_SEQUENCE
sprt_status_e_SPRT_STATUS_SUBSESSION_CHANGED
sprt_tcid_e_SPRT_TCID_EXPEDITED_RELIABLE_SEQUENCED
sprt_tcid_e_SPRT_TCID_RELIABLE_SEQUENCED
sprt_tcid_e_SPRT_TCID_UNRELIABLE_SEQUENCED
sprt_tcid_e_SPRT_TCID_UNRELIABLE_UNSEQUENCED
sprt_tcid_range_view_e_SPRT_TCID_MAX
sprt_tcid_range_view_e_SPRT_TCID_MAX_RELIABLE
sprt_tcid_range_view_e_SPRT_TCID_MIN
sprt_tcid_range_view_e_SPRT_TCID_MIN_RELIABLE
sprt_timer_action_e_SPRT_TIMER_ADJUST
sprt_timer_action_e_SPRT_TIMER_CLEAR
sprt_timer_action_e_SPRT_TIMER_SET
sprt_timer_e_SPRT_TIMER_TA01
sprt_timer_e_SPRT_TIMER_TA02
sprt_timer_e_SPRT_TIMER_TR03
t4_decoder_status_t_T4_DECODE_ABORTED
An abort was found in the image data
t4_decoder_status_t_T4_DECODE_INTERRUPT
The decoder has interrupted
t4_decoder_status_t_T4_DECODE_INVALID_DATA
The image data is invalid.
t4_decoder_status_t_T4_DECODE_MORE_DATA
More image data is needed
t4_decoder_status_t_T4_DECODE_NOMEM
A memory allocation error occurred
t4_decoder_status_t_T4_DECODE_OK
Image completed successfully
t4_image_compression_t_T4_COMPRESSION_12BIT
12 bit mode for gray-scale and colour
t4_image_compression_t_T4_COMPRESSION_COLOUR
Colour support by multi-level codecs
t4_image_compression_t_T4_COMPRESSION_COLOUR_TO_BILEVEL
Dither a colour image down a simple bilevel image, with rescaling to fit a FAX page
t4_image_compression_t_T4_COMPRESSION_COLOUR_TO_GRAY
Convert a colour image to a gray-scale one
t4_image_compression_t_T4_COMPRESSION_GRAYSCALE
Gray-scale support by multi-level codecs
t4_image_compression_t_T4_COMPRESSION_GRAY_TO_BILEVEL
Dither a gray-scale image down a simple bilevel image, with rescaling to fit a FAX page
t4_image_compression_t_T4_COMPRESSION_JPEG
Conventional JPEG. This compression cannot be used for FAXes. It is provided for specifying output formats for received images.
t4_image_compression_t_T4_COMPRESSION_NONE
No compression
t4_image_compression_t_T4_COMPRESSION_NO_SUBSAMPLING
Support solour compression without sub-sampling
t4_image_compression_t_T4_COMPRESSION_RESCALING
Rescale an image (except a bi-level image) to fit a permitted FAX width when necessary
t4_image_compression_t_T4_COMPRESSION_SYCC_T81
T.42 + T.81 + T.30 Annex K colour sYCC-JPEG coding
t4_image_compression_t_T4_COMPRESSION_T6
T.6 2D compression
t4_image_compression_t_T4_COMPRESSION_T4_1D
T.4 1D compression
t4_image_compression_t_T4_COMPRESSION_T4_2D
T.4 2D compression
t4_image_compression_t_T4_COMPRESSION_T43
T.43 gray-scale/colour JBIG coding
t4_image_compression_t_T4_COMPRESSION_T45
T.45 run length colour compression
t4_image_compression_t_T4_COMPRESSION_T85
T.85 monochrome JBIG coding with L0 fixed.
t4_image_compression_t_T4_COMPRESSION_T88
T.88 monochrome JBIG2 compression
t4_image_compression_t_T4_COMPRESSION_T42_T81
T.42 + T.81 + T.30 Annex E colour JPEG coding
t4_image_compression_t_T4_COMPRESSION_T85_L0
T.85 monochrome JBIG coding with L0 variable.
t4_image_compression_t_T4_COMPRESSION_UNCOMPRESSED
Uncompressed image. This compression cannot be used for FAXes. It is provided for specifying output formats for received images.
t4_image_format_status_t_T4_IMAGE_FORMAT_INCOMPATIBLE
t4_image_format_status_t_T4_IMAGE_FORMAT_NORESSUPPORT
t4_image_format_status_t_T4_IMAGE_FORMAT_NOSIZESUPPORT
t4_image_format_status_t_T4_IMAGE_FORMAT_OK
t4_image_length_t_T4_LENGTH_300_A3
t4_image_length_t_T4_LENGTH_300_A4
t4_image_length_t_T4_LENGTH_300_B4
t4_image_length_t_T4_LENGTH_300_US_LEGAL
t4_image_length_t_T4_LENGTH_300_US_LETTER
t4_image_length_t_T4_LENGTH_600_A3
t4_image_length_t_T4_LENGTH_600_A4
t4_image_length_t_T4_LENGTH_600_B4
t4_image_length_t_T4_LENGTH_600_US_LEGAL
t4_image_length_t_T4_LENGTH_600_US_LETTER
t4_image_length_t_T4_LENGTH_800_A3
t4_image_length_t_T4_LENGTH_800_A4
t4_image_length_t_T4_LENGTH_800_B4
t4_image_length_t_T4_LENGTH_800_US_LEGAL
t4_image_length_t_T4_LENGTH_800_US_LETTER
t4_image_length_t_T4_LENGTH_1200_A3
t4_image_length_t_T4_LENGTH_1200_A4
t4_image_length_t_T4_LENGTH_1200_B4
t4_image_length_t_T4_LENGTH_1200_US_LEGAL
t4_image_length_t_T4_LENGTH_1200_US_LETTER
t4_image_length_t_T4_LENGTH_FINE_A3
t4_image_length_t_T4_LENGTH_FINE_A4
t4_image_length_t_T4_LENGTH_FINE_B4
t4_image_length_t_T4_LENGTH_FINE_US_LEGAL
t4_image_length_t_T4_LENGTH_FINE_US_LETTER
t4_image_length_t_T4_LENGTH_STANDARD_A3
t4_image_length_t_T4_LENGTH_STANDARD_A4
t4_image_length_t_T4_LENGTH_STANDARD_B4
t4_image_length_t_T4_LENGTH_STANDARD_US_LEGAL
t4_image_length_t_T4_LENGTH_STANDARD_US_LETTER
t4_image_length_t_T4_LENGTH_SUPERFINE_A3
t4_image_length_t_T4_LENGTH_SUPERFINE_A4
t4_image_length_t_T4_LENGTH_SUPERFINE_B4
t4_image_length_t_T4_LENGTH_SUPERFINE_US_LEGAL
t4_image_length_t_T4_LENGTH_SUPERFINE_US_LETTER
t4_image_types_t_T4_IMAGE_TYPE_4COLOUR_8BIT
t4_image_types_t_T4_IMAGE_TYPE_4COLOUR_12BIT
t4_image_types_t_T4_IMAGE_TYPE_4COLOUR_BILEVEL
t4_image_types_t_T4_IMAGE_TYPE_BILEVEL
t4_image_types_t_T4_IMAGE_TYPE_COLOUR_8BIT
t4_image_types_t_T4_IMAGE_TYPE_COLOUR_12BIT
t4_image_types_t_T4_IMAGE_TYPE_COLOUR_BILEVEL
t4_image_types_t_T4_IMAGE_TYPE_GRAY_8BIT
t4_image_types_t_T4_IMAGE_TYPE_GRAY_12BIT
t4_image_width_t_T4_WIDTH_100_A3
t4_image_width_t_T4_WIDTH_100_A4
t4_image_width_t_T4_WIDTH_100_B4
t4_image_width_t_T4_WIDTH_200_A3
t4_image_width_t_T4_WIDTH_200_A4
t4_image_width_t_T4_WIDTH_200_B4
t4_image_width_t_T4_WIDTH_300_A3
t4_image_width_t_T4_WIDTH_300_A4
t4_image_width_t_T4_WIDTH_300_B4
t4_image_width_t_T4_WIDTH_400_A3
t4_image_width_t_T4_WIDTH_400_A4
t4_image_width_t_T4_WIDTH_400_B4
t4_image_width_t_T4_WIDTH_600_A3
t4_image_width_t_T4_WIDTH_600_A4
t4_image_width_t_T4_WIDTH_600_B4
t4_image_width_t_T4_WIDTH_1200_A3
t4_image_width_t_T4_WIDTH_1200_A4
t4_image_width_t_T4_WIDTH_1200_B4
t4_image_x_resolution_t_T4_X_RESOLUTION_100
t4_image_x_resolution_t_T4_X_RESOLUTION_200
t4_image_x_resolution_t_T4_X_RESOLUTION_300
t4_image_x_resolution_t_T4_X_RESOLUTION_400
t4_image_x_resolution_t_T4_X_RESOLUTION_600
t4_image_x_resolution_t_T4_X_RESOLUTION_1200
t4_image_x_resolution_t_T4_X_RESOLUTION_R4
t4_image_x_resolution_t_T4_X_RESOLUTION_R8
t4_image_x_resolution_t_T4_X_RESOLUTION_R16
t4_image_y_resolution_t_T4_Y_RESOLUTION_100
t4_image_y_resolution_t_T4_Y_RESOLUTION_200
t4_image_y_resolution_t_T4_Y_RESOLUTION_300
t4_image_y_resolution_t_T4_Y_RESOLUTION_400
t4_image_y_resolution_t_T4_Y_RESOLUTION_600
t4_image_y_resolution_t_T4_Y_RESOLUTION_800
t4_image_y_resolution_t_T4_Y_RESOLUTION_1200
t4_image_y_resolution_t_T4_Y_RESOLUTION_FINE
t4_image_y_resolution_t_T4_Y_RESOLUTION_STANDARD
t4_image_y_resolution_t_T4_Y_RESOLUTION_SUPERFINE
t30_iaf_mode_e_T30_IAF_MODE_CONTINUOUS_FLOW
Continuous flow mode means data is sent as fast as possible, usually across the Internet, where speed is not constrained by a PSTN modem.
t30_iaf_mode_e_T30_IAF_MODE_FLOW_CONTROL
t30_iaf_mode_e_T30_IAF_MODE_NO_FILL_BITS
No fill bits means do not insert fill bits, even if the T.30 messages request them.
t30_iaf_mode_e_T30_IAF_MODE_NO_INDICATORS
No indicators means do not send indicator messages when using T.38.
t30_iaf_mode_e_T30_IAF_MODE_NO_TCF
No TCF means TCF is not exchanged. The end points must sort out usable speed issues locally.
t30_iaf_mode_e_T30_IAF_MODE_RELAXED_TIMERS
Use relaxed timers for T.38. This is appropriate when using TCP/TPKT for T.38, as there is no point in anything but a long backstop timeout in such a mode.
t30_iaf_mode_e_T30_IAF_MODE_T37
t30_iaf_mode_e_T30_IAF_MODE_T38
t30_modem_e_T30_MODEM_CED
t30_modem_e_T30_MODEM_CNG
t30_modem_e_T30_MODEM_DONE
t30_modem_e_T30_MODEM_NONE
t30_modem_e_T30_MODEM_PAUSE
t30_modem_e_T30_MODEM_V17
t30_modem_e_T30_MODEM_V21
t30_modem_e_T30_MODEM_V29
t30_modem_e_T30_MODEM_V27TER
t30_modem_e_T30_MODEM_V34HDX
t38_chunking_mode_e_T38_CHUNKING_ALLOW_TEP_TIME
\brief Allow for the time TEP takes when playing out the data
t38_chunking_mode_e_T38_CHUNKING_MERGE_FCS_WITH_DATA
\brief The FCS at the end of an HDLC block can be send with the last chunk of the packet, or as a separate packet
t38_chunking_mode_e_T38_CHUNKING_SEND_2S_REGULAR_INDICATORS
\brief Send an indicator every 2s when idle
t38_chunking_mode_e_T38_CHUNKING_SEND_REGULAR_INDICATORS
\brief Send regular indicators when idle, rather than a single shot as the idle period begins
t38_chunking_mode_e_T38_CHUNKING_WHOLE_FRAMES
\brief Send whole HDLC frames, rather than break them into mant packets for smooth analogue playout
t38_data_rate_management_types_e_T38_DATA_RATE_MANAGEMENT_LOCAL_TCF
t38_data_rate_management_types_e_T38_DATA_RATE_MANAGEMENT_TRANSFERRED_TCF
t38_packet_categories_e_T38_PACKET_CATEGORY_CONTROL_DATA
\brief Control data packet
t38_packet_categories_e_T38_PACKET_CATEGORY_CONTROL_DATA_END
\brief Terminating control data packet
t38_packet_categories_e_T38_PACKET_CATEGORY_IMAGE_DATA
\brief Image data packet
t38_packet_categories_e_T38_PACKET_CATEGORY_IMAGE_DATA_END
\brief Terminating image data packet
t38_packet_categories_e_T38_PACKET_CATEGORY_INDICATOR
\brief Indicator packet
t38_transport_types_e_T38_TRANSPORT_RTP
t38_transport_types_e_T38_TRANSPORT_TCP
t38_transport_types_e_T38_TRANSPORT_TCP_TPKT
t38_transport_types_e_T38_TRANSPORT_UDPTL
v8_call_function_e_V8_CALL_FUNCTION_EXTENSION
v8_call_function_e_V8_CALL_H324
v8_call_function_e_V8_CALL_T30_RX
v8_call_function_e_V8_CALL_T30_TX
v8_call_function_e_V8_CALL_T101
v8_call_function_e_V8_CALL_TBS
v8_call_function_e_V8_CALL_V18
v8_call_function_e_V8_CALL_V_SERIES
v8_modulation_e_V8_MOD_V17
v8_modulation_e_V8_MOD_V21
v8_modulation_e_V8_MOD_V22
v8_modulation_e_V8_MOD_V23
v8_modulation_e_V8_MOD_V29
v8_modulation_e_V8_MOD_V32
v8_modulation_e_V8_MOD_V34
v8_modulation_e_V8_MOD_V90
v8_modulation_e_V8_MOD_V92
v8_modulation_e_V8_MOD_V23HDX
v8_modulation_e_V8_MOD_V26BIS
v8_modulation_e_V8_MOD_V26TER
v8_modulation_e_V8_MOD_V27TER
v8_modulation_e_V8_MOD_V34HDX
v8_pcm_modem_availability_e_V8_PSTN_PCM_MODEM_V91
v8_pcm_modem_availability_e_V8_PSTN_PCM_MODEM_V90_V92_ANALOGUE
v8_pcm_modem_availability_e_V8_PSTN_PCM_MODEM_V90_V92_DIGITAL
v8_protocol_e_V8_PROTOCOL_EXTENSION
v8_protocol_e_V8_PROTOCOL_LAPM_V42
v8_protocol_e_V8_PROTOCOL_NONE
v8_pstn_access_e_V8_PSTN_ACCESS_ANSWER_DCE_CELLULAR
v8_pstn_access_e_V8_PSTN_ACCESS_CALL_DCE_CELLULAR
v8_pstn_access_e_V8_PSTN_ACCESS_DCE_ON_DIGITAL
v8_status_e_V8_STATUS_CALLING_TONE_RECEIVED
Non-V.8 calling tone received.
v8_status_e_V8_STATUS_CALL_FUNCTION_RECEIVED
V.8 call function received (in a CI message).
v8_status_e_V8_STATUS_FAILED
V.8 negotiation failed.
v8_status_e_V8_STATUS_FAX_CNG_TONE_RECEIVED
FAX CNG tone received.
v8_status_e_V8_STATUS_IN_PROGRESS
V.8 negotiation is in progress.
v8_status_e_V8_STATUS_NON_V8_CALL
A non-V.8 is being received.
v8_status_e_V8_STATUS_V8_CALL
V.8 has been successfully negotiated. Note that this only means the V.8 message exchange has successfully completed. The actual exchanged parameters must be checked, to see if the call can proceed properly.
v8_status_e_V8_STATUS_V8_OFFERED
V.8 has been offered by the other (calling) party (i.e. CM recognised).
v18_autobauding_modes_e_V18_AUTOMODING_AUSTRALIA
v18_autobauding_modes_e_V18_AUTOMODING_AUSTRIA
v18_autobauding_modes_e_V18_AUTOMODING_BELGIUM
v18_autobauding_modes_e_V18_AUTOMODING_DENMARK
v18_autobauding_modes_e_V18_AUTOMODING_END
v18_autobauding_modes_e_V18_AUTOMODING_FINALND
v18_autobauding_modes_e_V18_AUTOMODING_FRANCE
v18_autobauding_modes_e_V18_AUTOMODING_GERMANY
v18_autobauding_modes_e_V18_AUTOMODING_GLOBAL
v18_autobauding_modes_e_V18_AUTOMODING_ICELAND
v18_autobauding_modes_e_V18_AUTOMODING_IRELAND
v18_autobauding_modes_e_V18_AUTOMODING_ITALY
v18_autobauding_modes_e_V18_AUTOMODING_NETHERLANDS
v18_autobauding_modes_e_V18_AUTOMODING_NONE
v18_autobauding_modes_e_V18_AUTOMODING_NORWAY
v18_autobauding_modes_e_V18_AUTOMODING_SPAIN
v18_autobauding_modes_e_V18_AUTOMODING_SWEDEN
v18_autobauding_modes_e_V18_AUTOMODING_SWITZERLAND
v18_autobauding_modes_e_V18_AUTOMODING_UK
v18_autobauding_modes_e_V18_AUTOMODING_USA
v18_status_e_V18_STATUS_SWITCH_TO_BELL103
v18_status_e_V18_STATUS_SWITCH_TO_DTMF
v18_status_e_V18_STATUS_SWITCH_TO_EDT
v18_status_e_V18_STATUS_SWITCH_TO_NONE
v18_status_e_V18_STATUS_SWITCH_TO_V18TEXTPHONE
v18_status_e_V18_STATUS_SWITCH_TO_V21TEXTPHONE
v18_status_e_V18_STATUS_SWITCH_TO_V23VIDEOTEX
v18_status_e_V18_STATUS_SWITCH_TO_WEITBRECHT_5BIT_50
v18_status_e_V18_STATUS_SWITCH_TO_WEITBRECHT_5BIT_476
v18_status_e_V18_STATUS_SWITCH_TO_WEITBRECHT_5BIT_4545
v22bis_options_t_V22BIS_BELL212A_COMPATIBILITY_MODE
v22bis_options_t_V22BIS_GUARD_TONE_550HZ
v22bis_options_t_V22BIS_GUARD_TONE_1800HZ
v22bis_options_t_V22BIS_GUARD_TONE_NONE
v22bis_options_t_V22BIS_USE_U00
v150_1_break_source_e_V150_1_BREAK_SOURCE_V14
v150_1_break_source_e_V150_1_BREAK_SOURCE_V42_ANNEX_A
v150_1_break_source_e_V150_1_BREAK_SOURCE_V42_LAPM
v150_1_break_type_e_V150_1_BREAK_TYPE_DESTRUCTIVE_EXPEDITED
v150_1_break_type_e_V150_1_BREAK_TYPE_NON_DESTRUCTIVE_EXPEDITED
v150_1_break_type_e_V150_1_BREAK_TYPE_NON_DESTRUCTIVE_NON_EXPEDITED
v150_1_break_type_e_V150_1_BREAK_TYPE_NOT_APPLICABLE
v150_1_cdscselect_e_V150_1_CDSCSELECT_AUDIO_RFC4733
v150_1_cdscselect_e_V150_1_CDSCSELECT_INDETERMINATE
v150_1_cdscselect_e_V150_1_CDSCSELECT_MIXED
v150_1_cdscselect_e_V150_1_CDSCSELECT_VBD_PREFERRED
v150_1_cleardown_reason_e_V150_1_CLEARDOWN_REASON_ABORT
v150_1_cleardown_reason_e_V150_1_CLEARDOWN_REASON_ADMINISTRATIVE
v150_1_cleardown_reason_e_V150_1_CLEARDOWN_REASON_DATA_COMPRESSION_DISCONNECT
v150_1_cleardown_reason_e_V150_1_CLEARDOWN_REASON_LINK_LAYER_DISCONNECT
v150_1_cleardown_reason_e_V150_1_CLEARDOWN_REASON_NETWORK_LAYER_TERMINATION
v150_1_cleardown_reason_e_V150_1_CLEARDOWN_REASON_ON_HOOK
v150_1_cleardown_reason_e_V150_1_CLEARDOWN_REASON_PHYSICAL_LAYER_RELEASE
v150_1_cleardown_reason_e_V150_1_CLEARDOWN_REASON_UNKNOWN
v150_1_compress_e_V150_1_COMPRESS_BIDIRECTIONAL
v150_1_compress_e_V150_1_COMPRESS_NEITHER_WAY
v150_1_compress_e_V150_1_COMPRESS_RX_ONLY
v150_1_compress_e_V150_1_COMPRESS_TX_ONLY
v150_1_compression_e_V150_1_COMPRESSION_MNP5
v150_1_compression_e_V150_1_COMPRESSION_NONE
v150_1_compression_e_V150_1_COMPRESSION_V44
v150_1_compression_e_V150_1_COMPRESSION_V42BIS
v150_1_data_bits_e_V150_1_DATA_BITS_5
v150_1_data_bits_e_V150_1_DATA_BITS_6
v150_1_data_bits_e_V150_1_DATA_BITS_7
v150_1_data_bits_e_V150_1_DATA_BITS_8
v150_1_error_correction_e_V150_1_ERROR_CORRECTION_NONE
v150_1_error_correction_e_V150_1_ERROR_CORRECTION_V42_ANNEX_A
v150_1_error_correction_e_V150_1_ERROR_CORRECTION_V42_LAPM
v150_1_jm_access_e_V150_1_JM_ACCESS_ANSWER_DCE_CELLULAR
v150_1_jm_access_e_V150_1_JM_ACCESS_CALL_DCE_CELLULAR
v150_1_jm_access_e_V150_1_JM_ACCESS_DCE_DIGITAL_NETWORK
v150_1_jm_call_function_e_V150_1_JM_CALL_FUNCTION_H324
v150_1_jm_call_function_e_V150_1_JM_CALL_FUNCTION_T30_RX
v150_1_jm_call_function_e_V150_1_JM_CALL_FUNCTION_T30_TX
v150_1_jm_call_function_e_V150_1_JM_CALL_FUNCTION_T101
v150_1_jm_call_function_e_V150_1_JM_CALL_FUNCTION_V18
v150_1_jm_call_function_e_V150_1_JM_CALL_FUNCTION_V_SERIES
v150_1_jm_category_id_e_V150_1_JM_CATEGORY_ID_CALL_FUNCTION_1
v150_1_jm_category_id_e_V150_1_JM_CATEGORY_ID_EXTENSION
v150_1_jm_category_id_e_V150_1_JM_CATEGORY_ID_MODULATION_MODES
v150_1_jm_category_id_e_V150_1_JM_CATEGORY_ID_PCM_MODEM_AVAILABILITY
v150_1_jm_category_id_e_V150_1_JM_CATEGORY_ID_PROTOCOLS
v150_1_jm_category_id_e_V150_1_JM_CATEGORY_ID_PSTN_ACCESS
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V17_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V21_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V22_V22bis_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V23_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V23_HALF_DUPLEX_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V26bis_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V26ter_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V27ter_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V29_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V32_V32bis_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V34_AVAILABLE
v150_1_jm_modulation_mode_e_V150_1_JM_MODULATION_MODE_V34_HALF_DUPLEX_AVAILABLE
v150_1_jm_pcm_mode_e_V150_1_JM_PCM_V90_V92_ANALOGUE_MODEM_AVAILABLE
v150_1_jm_pcm_mode_e_V150_1_JM_PCM_V90_V92_DIGITAL_MODEM_AVAILABLE
v150_1_jm_pcm_mode_e_V150_1_JM_PCM_V91_MODEM_AVAILABLE
v150_1_jm_protocol_e_V150_1_JM_PROTOCOL_V42_LAPM
v150_1_media_states_e_V150_1_MEDIA_STATE_FAX_RELAY
v150_1_media_states_e_V150_1_MEDIA_STATE_INDETERMINATE
v150_1_media_states_e_V150_1_MEDIA_STATE_INITIAL_AUDIO
v150_1_media_states_e_V150_1_MEDIA_STATE_ITU_RESERVED_0
v150_1_media_states_e_V150_1_MEDIA_STATE_ITU_RESERVED_MAX
v150_1_media_states_e_V150_1_MEDIA_STATE_ITU_RESERVED_MIN
v150_1_media_states_e_V150_1_MEDIA_STATE_MODEM_RELAY
v150_1_media_states_e_V150_1_MEDIA_STATE_RESERVED_MAX
v150_1_media_states_e_V150_1_MEDIA_STATE_RESERVED_MIN
v150_1_media_states_e_V150_1_MEDIA_STATE_TEXT_PROBE
v150_1_media_states_e_V150_1_MEDIA_STATE_TEXT_RELAY
v150_1_media_states_e_V150_1_MEDIA_STATE_VOICE_BAND_DATA
v150_1_modem_relay_gateway_type_e_V150_1_MODEM_RELAY_GATEWAY_UNIVERSAL
v150_1_modem_relay_gateway_type_e_V150_1_MODEM_RELAY_GATEWAY_V8
v150_1_mr_event_id_e_V150_1_MR_EVENT_ID_NULL
v150_1_mr_event_id_e_V150_1_MR_EVENT_ID_PHYSUP
v150_1_mr_event_id_e_V150_1_MR_EVENT_ID_RATE_RENEGOTIATION
v150_1_mr_event_id_e_V150_1_MR_EVENT_ID_RETRAIN
v150_1_mr_event_reason_e_V150_1_MR_EVENT_REASON_INITIATION
v150_1_mr_event_reason_e_V150_1_MR_EVENT_REASON_NULL
v150_1_mr_event_reason_e_V150_1_MR_EVENT_REASON_RESPONDING
v150_1_mrmods_e_V150_1_MRMODS_V17
v150_1_mrmods_e_V150_1_MRMODS_V21
v150_1_mrmods_e_V150_1_MRMODS_V34
v150_1_mrmods_e_V150_1_MRMODS_V91
v150_1_mrmods_e_V150_1_MRMODS_V22BIS
v150_1_mrmods_e_V150_1_MRMODS_V23_DUPLEX
v150_1_mrmods_e_V150_1_MRMODS_V23_HALF_DUPLEX
v150_1_mrmods_e_V150_1_MRMODS_V26BIS
v150_1_mrmods_e_V150_1_MRMODS_V26TER
v150_1_mrmods_e_V150_1_MRMODS_V27TER
v150_1_mrmods_e_V150_1_MRMODS_V29_HALF_DUPLEX
v150_1_mrmods_e_V150_1_MRMODS_V32BIS
v150_1_mrmods_e_V150_1_MRMODS_V34_HALF_DUPLEX
v150_1_mrmods_e_V150_1_MRMODS_V90_ANALOGUE
v150_1_mrmods_e_V150_1_MRMODS_V90_DIGITAL
v150_1_mrmods_e_V150_1_MRMODS_V92_ANALOGUE
v150_1_mrmods_e_V150_1_MRMODS_V92_DIGITAL
v150_1_msgid_e_V150_1_MSGID_BREAK
v150_1_msgid_e_V150_1_MSGID_BREAKACK
v150_1_msgid_e_V150_1_MSGID_CLEARDOWN
v150_1_msgid_e_V150_1_MSGID_CONNECT
v150_1_msgid_e_V150_1_MSGID_INIT
v150_1_msgid_e_V150_1_MSGID_I_CHAR_DYN
v150_1_msgid_e_V150_1_MSGID_I_CHAR_DYN_CS
v150_1_msgid_e_V150_1_MSGID_I_CHAR_STAT
v150_1_msgid_e_V150_1_MSGID_I_CHAR_STAT_CS
v150_1_msgid_e_V150_1_MSGID_I_FRAME
v150_1_msgid_e_V150_1_MSGID_I_OCTET
v150_1_msgid_e_V150_1_MSGID_I_OCTET_CS
v150_1_msgid_e_V150_1_MSGID_I_RAW_BIT
v150_1_msgid_e_V150_1_MSGID_I_RAW_OCTET
v150_1_msgid_e_V150_1_MSGID_JM_INFO
v150_1_msgid_e_V150_1_MSGID_MR_EVENT
v150_1_msgid_e_V150_1_MSGID_NULL
v150_1_msgid_e_V150_1_MSGID_PROF_XCHG
v150_1_msgid_e_V150_1_MSGID_START_JM
v150_1_msgid_e_V150_1_MSGID_VENDOR_MAX
v150_1_msgid_e_V150_1_MSGID_VENDOR_MIN
v150_1_msgid_e_V150_1_MSGID_XID_XCHG
v150_1_parity_e_V150_1_PARITY_EVEN
v150_1_parity_e_V150_1_PARITY_MARK
v150_1_parity_e_V150_1_PARITY_NONE
v150_1_parity_e_V150_1_PARITY_ODD
v150_1_parity_e_V150_1_PARITY_SPACE
v150_1_parity_e_V150_1_PARITY_UNKNOWN
v150_1_selmod_e_V150_1_SELMOD_BELL103
v150_1_selmod_e_V150_1_SELMOD_BELL212
v150_1_selmod_e_V150_1_SELMOD_NULL
v150_1_selmod_e_V150_1_SELMOD_V17
v150_1_selmod_e_V150_1_SELMOD_V21
v150_1_selmod_e_V150_1_SELMOD_V22
v150_1_selmod_e_V150_1_SELMOD_V23
v150_1_selmod_e_V150_1_SELMOD_V29
v150_1_selmod_e_V150_1_SELMOD_V32
v150_1_selmod_e_V150_1_SELMOD_V34
v150_1_selmod_e_V150_1_SELMOD_V90
v150_1_selmod_e_V150_1_SELMOD_V91
v150_1_selmod_e_V150_1_SELMOD_V92
v150_1_selmod_e_V150_1_SELMOD_V22bis
v150_1_selmod_e_V150_1_SELMOD_V26bis
v150_1_selmod_e_V150_1_SELMOD_V26ter
v150_1_selmod_e_V150_1_SELMOD_V27ter
v150_1_selmod_e_V150_1_SELMOD_V32bis
v150_1_selmod_e_V150_1_SELMOD_VENDOR_MAX
v150_1_selmod_e_V150_1_SELMOD_VENDOR_MIN
v150_1_sse_foip_ric_code_e_V150_1_SSE_FOIP_RIC_P_STATE_TRANSITION
v150_1_sse_foip_ric_code_e_V150_1_SSE_FOIP_RIC_V8_CM
v150_1_sse_foip_ric_code_e_V150_1_SSE_FOIP_RIC_V21_FLAGS
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_ANSAM
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_ANSAM_PR
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_ANS_CED
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_ANS_PR
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_BELL103
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_CLEARDOWN
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_CNG
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_CTM
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_EDT
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_INDETERMINATE_SIGNAL
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_P_STATE_TRANSITION
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_SILENCE
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_TIA825A_45_45BPS
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_TIA825A_50BPS
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_TIMEOUT
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_TONE_2225HZ
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V8BIS_CRD
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V8BIS_CRE
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V8_CM
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V8_JM
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V18_DTMF_TEXT_RELAY
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V18_TEXT_TELEPHONE
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V21_CH1
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V21_CH2
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V21_CH2_HDLC_FLAGS
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V21_TEXT_TELEPHONE
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V22BIS_S1
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V22BIS_SB1
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V22BIS_USB1
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V23_HIGH_CHANNEL
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V23_LOW_CHANNEL
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V23_MINITEL
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V32BIS_AA
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V32BIS_AC
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V92_QC1A
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V92_QC1D
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V92_QC2A
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_V92_QC2D
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_VENDOR_MAX
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_VENDOR_MIN
v150_1_sse_moip_ric_code_e_V150_1_SSE_MOIP_RIC_VOICE
v150_1_sse_moip_ric_info_v8_cleardown_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_CLEARDOWN_ABORT
v150_1_sse_moip_ric_info_v8_cleardown_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_CLEARDOWN_ADMINISTRATIVE
v150_1_sse_moip_ric_info_v8_cleardown_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_CLEARDOWN_COMPRESSION_DISCONNECT
v150_1_sse_moip_ric_info_v8_cleardown_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_CLEARDOWN_LINK_LAYER_DISCONNECT
v150_1_sse_moip_ric_info_v8_cleardown_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_CLEARDOWN_NETWORK_LAYER_TERMINATION
v150_1_sse_moip_ric_info_v8_cleardown_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_CLEARDOWN_ON_HOOK
v150_1_sse_moip_ric_info_v8_cleardown_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_CLEARDOWN_PHYSICAL_LAYER_RELEASE
v150_1_sse_moip_ric_info_v8_cleardown_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_CLEARDOWN_UNKNOWN
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_PCM_MODE
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V17
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V21
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V29
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V91
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V22BIS
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V23_DUPLEX
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V23_HALF_DUPLEX
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V26BIS
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V26TER
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V27TER
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V32BIS
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V34_DUPLEX
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V34_HALF_DUPLEX
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V90_V92_ANALOGUE
v150_1_sse_moip_ric_info_v8_cm_code_e_V150_1_SSE_MOIP_RIC_INFO_V8_CM_V90_V92_DIGITAL
v150_1_sse_moip_ric_info_v8_timeout_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_TIMEOUT_CALL_DISCRIMINATION_TIMEOUT
v150_1_sse_moip_ric_info_v8_timeout_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_TIMEOUT_IP_TLP
v150_1_sse_moip_ric_info_v8_timeout_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_TIMEOUT_NULL
v150_1_sse_moip_ric_info_v8_timeout_reason_code_e_V150_1_SSE_MOIP_RIC_INFO_TIMEOUT_SSE_EXPLICIT_ACK_TIMEOUT
v150_1_sse_reliability_option_e_V150_1_SSE_RELIABILITY_BY_EXPLICIT_ACK
v150_1_sse_reliability_option_e_V150_1_SSE_RELIABILITY_BY_REPETITION
v150_1_sse_reliability_option_e_V150_1_SSE_RELIABILITY_BY_RFC2198
v150_1_sse_reliability_option_e_V150_1_SSE_RELIABILITY_NONE
v150_1_sse_status_e_V150_1_SSE_STATUS_AA_RECEIVED
v150_1_sse_status_e_V150_1_SSE_STATUS_AA_RECEIVED_FAX
v150_1_sse_status_e_V150_1_SSE_STATUS_CLEARDOWN
v150_1_sse_status_e_V150_1_SSE_STATUS_V8_CM_RECEIVED
v150_1_sse_status_e_V150_1_SSE_STATUS_V8_CM_RECEIVED_FAX
v150_1_sse_status_e_V150_1_SSE_STATUS_V8_JM_RECEIVED
v150_1_sse_status_e_V150_1_SSE_STATUS_V8_JM_RECEIVED_FAX
v150_1_state_e_V150_1_STATE_CONNECTED
v150_1_state_e_V150_1_STATE_IDLE
v150_1_state_e_V150_1_STATE_INITED
v150_1_state_e_V150_1_STATE_PHYSUP
v150_1_state_e_V150_1_STATE_RATE_RENEGOTIATION
v150_1_state_e_V150_1_STATE_RETRAIN
v150_1_status_reason_e_V150_1_STATUS_REASON_BREAK_RECEIVED
v150_1_status_reason_e_V150_1_STATUS_REASON_BUSY_CHANGED
v150_1_status_reason_e_V150_1_STATUS_REASON_CONNECTION_STATE_CHANGED
v150_1_status_reason_e_V150_1_STATUS_REASON_CONNECTION_STATE_CONNECTED
v150_1_status_reason_e_V150_1_STATUS_REASON_CONNECTION_STATE_PHYSUP
v150_1_status_reason_e_V150_1_STATUS_REASON_DATA_FORMAT_CHANGED
v150_1_status_reason_e_V150_1_STATUS_REASON_MEDIA_STATE_CHANGED
v150_1_status_reason_e_V150_1_STATUS_REASON_NULL
v150_1_status_reason_e_V150_1_STATUS_REASON_RATE_RENEGOTIATION_RECEIVED
v150_1_status_reason_e_V150_1_STATUS_REASON_RATE_RETRAIN_RECEIVED
v150_1_stop_bits_e_V150_1_STOP_BITS_1
v150_1_stop_bits_e_V150_1_STOP_BITS_2
v150_1_support_e_V150_1_SUPPORT_I_CHAR_DYN
v150_1_support_e_V150_1_SUPPORT_I_CHAR_DYN_CS
v150_1_support_e_V150_1_SUPPORT_I_CHAR_STAT
v150_1_support_e_V150_1_SUPPORT_I_CHAR_STAT_CS
v150_1_support_e_V150_1_SUPPORT_I_FRAME
v150_1_support_e_V150_1_SUPPORT_I_OCTET_CS
v150_1_support_e_V150_1_SUPPORT_I_RAW_BIT
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_600
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_1200
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_1600
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_2400
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_2743
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_3000
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_3200
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_3429
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_8000
v150_1_symbol_rate_e_V150_1_SYMBOL_RATE_NULL

Functions§

ademco_contactid_event_to_str
ademco_contactid_msg_qualifier_to_str
ademco_contactid_receiver_fillin
ademco_contactid_receiver_free
ademco_contactid_receiver_get_logging_state
ademco_contactid_receiver_init
ademco_contactid_receiver_log_msg
ademco_contactid_receiver_release
ademco_contactid_receiver_rx
ademco_contactid_receiver_set_realtime_callback
ademco_contactid_receiver_tx
ademco_contactid_sender_fillin
ademco_contactid_sender_free
ademco_contactid_sender_get_logging_state
ademco_contactid_sender_init
ademco_contactid_sender_put
ademco_contactid_sender_release
ademco_contactid_sender_rx
ademco_contactid_sender_set_realtime_callback
ademco_contactid_sender_tx
adsi_add_field
\brief Insert the header or a field into an ADSI message. \param s The ADSI transmit context. \param msg The message buffer. \param len The current length of the message. \param field_type The type code for the new field. \param field_body Pointer to the body of the new field. \param field_len The length of the new field.
adsi_next_field
\brief Get a field from an ADSI message. \param s The ADSI receive context. \param msg The message buffer. \param msg_len The length of the message. \param pos Current position within the message. Set to -1 when starting a message. \param field_type The type code for the field. \param field_body Pointer to the body of the field. \param field_len The length of the field, or -1 for no more fields, or -2 for message structure corrupt.
adsi_rx
\brief Receive a chunk of ADSI audio. \param s The ADSI receive context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed.
adsi_rx_free
\brief Free the resources of an ADSI receive context. \param s The ADSI receive context. \return 0 for OK.
adsi_rx_get_logging_state
Get the logging context associated with an ADSI receive context. \brief Get the logging context associated with an ADSI receive context. \param s The ADSI receive context. \return A pointer to the logging context
adsi_rx_init
\brief Initialise an ADSI receive context. \param s The ADSI receive context. \param standard The code for the ADSI standard to be used. \param put_msg A callback routine called to deliver the received messages to the application. \param user_data An opaque pointer for the callback routine. \return A pointer to the initialised context, or NULL if there was a problem.
adsi_rx_release
\brief Release an ADSI receive context. \param s The ADSI receive context. \return 0 for OK.
adsi_standard_to_str
\brief Return a short name for an ADSI standard \param standard The code for the standard. \return A pointer to the name.
adsi_tx
\brief Generate a block of ADSI audio samples. \param s The ADSI transmit context. \param amp The audio sample buffer. \param max_len The number of samples to be generated. \return The number of samples actually generated.
adsi_tx_free
\brief Free the resources of an ADSI transmit context. \param s The ADSI transmit context. \return 0 for OK.
adsi_tx_get_logging_state
Get the logging context associated with an ADSI transmit context. \brief Get the logging context associated with an ADSI transmit context. \param s The ADSI transmit context. \return A pointer to the logging context
adsi_tx_init
\brief Initialise an ADSI transmit context. \param s The ADSI transmit context. \param standard The code for the ADSI standard to be used. \return A pointer to the initialised context, or NULL if there was a problem.
adsi_tx_put_message
\brief Put a message into the input buffer of an ADSI transmit context. \param s The ADSI transmit context. \param msg The message. \param len The length of the message. \return The length actually added. If a message is already in progress in the transmitter, this function will return zero, as it will not successfully add the message to the buffer. If the message is invalid (e.g. it is too long), this function will return -1.
adsi_tx_release
\brief Release an ADSI transmit context. \param s The ADSI transmit context. \return 0 for OK.
adsi_tx_send_alert_tone
\brief Request generation of an ADSI alert tone. \param s The ADSI transmit context.
adsi_tx_set_preamble
\brief Adjust the preamble associated with an ADSI transmit context. \param s The ADSI transmit context. \param preamble_len The number of bits of preamble. \param preamble_ones_len The number of bits of continuous one before a message. \param postamble_ones_len The number of bits of continuous one after a message. \param stop_bits The number of stop bits per character.
alaw_to_ulaw
\brief Transcode from A-law to u-law, using the procedure defined in G.711. \param alaw The A-law sample to transcode. \return The best matching u-law value.
alloca
async_rx_free
async_rx_get_framing_errors
async_rx_get_parity_errors
async_rx_init
Initialise an asynchronous data receiver context. \brief Initialise an asynchronous data receiver context. \param s The receiver context. \param data_bits The number of data bits. \param parity The type of parity. \param stop_bits The number of stop bits. \param use_v14 True if V.14 rate adaption processing should be used. \param put_byte The callback routine used to put the received data. \param user_data An opaque pointer. \return A pointer to the initialised context, or NULL if there was a problem.
async_rx_put_bit
Accept a bit from a received serial bit stream \brief Accept a bit from a received serial bit stream \param user_data An opaque point which must point to a receiver context. \param bit The new bit. Some special values are supported for this field.
async_rx_release
async_tx_free
async_tx_get_bit
Get the next bit of a transmitted serial bit stream. \brief Get the next bit of a transmitted serial bit stream. \param user_data An opaque point which must point to a transmitter context. \return the next bit, or a status value passed through from the routine which gets the data bytes.
async_tx_init
Initialise an asynchronous data transmit context. \brief Initialise an asynchronous data transmit context. \param s The transmitter context. \param data_bits The number of data bit. \param parity The type of parity. \param stop_bits The number of stop bits. \param use_v14 True if V.14 rate adaption processing should be used. \param get_byte The callback routine used to get the data to be transmitted. \param user_data An opaque pointer. \return A pointer to the initialised context, or NULL if there was a problem.
async_tx_presend_bits
Set a minimum number of bit times of stop bit state before character transmission commences. \brief Set a minimum number of bit times of stop bit state before character transmission commences. \param user_data An opaque point which must point to a transmitter context. \param the number of bits.
async_tx_release
at_interpreter
awgn
awgn_free
awgn_init_dbm0
awgn_init_dbov
awgn_release
bert_event_to_str
Return a short description of a BERT event. \param event The event type. \return A pointer to a short text string describing the event.
bert_free
bert_get_bit
Get the next bit of the BERT sequence from the generator. \param s The BERT context. \return The bit.
bert_init
Initialise a BERT context. \param s The BERT context. \param limit The maximum test duration. \param pattern One of the supported BERT signal patterns. \param resync_len ??? \param resync_percent The percentage of bad bits which will cause a resync. \return The BERT context.
bert_put_bit
Put the next bit of the BERT sequence to the analyser. \param s The BERT context. \param bit The bit.
bert_release
bert_result
Get the results of the BERT. \param s The BERT context. \param results The results. \return The size of the result structure.
bert_set_report
Set the callback function for reporting the test status. \param s The BERT context. \param freq The required frequency of regular reports. \param reporter The callback function. \param user_data An opaque pointer passed to the reporter routine.
bitstream_emit
\brief Emit any residual bits to the output buffer, without actually flushing them. This is useful for getting the buffer fully up to date, ready for things like CRC calculations, while allowing bitstream_put() to be used to continue the message later. \param s A pointer to the bitstream context. \param c A pointer to the bitstream output buffer.
bitstream_flush
\brief Flush any residual bits to the output buffer. \param s A pointer to the bitstream context. \param c A pointer to the bitstream output buffer.
bitstream_free
bitstream_get
\brief Get a chunk of bits from the input buffer. \param s A pointer to the bitstream context. \param c A pointer to the bitstream input buffer. \param bits The number of bits of value to be grabbed. 1 to 25 bits is valid. \return The value retrieved from the input buffer.
bitstream_init
\brief Initialise a bitstream context. \param s A pointer to the bitstream context. \param lsb_first True if the bit stream is LSB first, else its MSB first. \return A pointer to the bitstream context.
bitstream_put
\brief Put a chunk of bits into the output buffer. \param s A pointer to the bitstream context. \param c A pointer to the bitstream output buffer. \param value The value to be pushed into the output buffer. \param bits The number of bits of value to be pushed. 1 to 25 bits is valid.
bitstream_release
crc_itu16_append
\brief Append an ITU/CCITT CRC-16 value to a frame. \param buf The buffer containing the frame. This must be at least 2 bytes longer than the frame it contains, to allow room for the CRC value. \param len The length of the frame. \return The new length of the frame.
crc_itu16_bits
\brief Calculate the ITU/CCITT CRC-16 value of some bits from a byte. \param buf The buffer containing the byte of data. \param len The number of bits, starting from the LSB. \param crc The initial CRC value. This is usually 0xFFFF, or 0 for a new block (it depends on the application). It is previous returned CRC value for the continuation of a block. \return The CRC value.
crc_itu16_calc
\brief Calculate the ITU/CCITT CRC-16 value in buffer by whole bytes. \param buf The buffer containing the data. \param len The length of the frame. \param crc The initial CRC value. This is usually 0xFFFF, or 0 for a new block (it depends on the application). It is previous returned CRC value for the continuation of a block. \return The CRC value.
crc_itu16_check
\brief Check the ITU/CCITT CRC-16 value in a frame. \param buf The buffer containing the frame. \param len The length of the frame. \return True if the CRC is OK, else false.
crc_itu32_append
\brief Append an ITU/CCITT CRC-32 value to a frame. \param buf The buffer containing the frame. This must be at least 2 bytes longer than the frame it contains, to allow room for the CRC value. \param len The length of the frame. \return The new length of the frame.
crc_itu32_calc
\brief Calculate the ITU/CCITT CRC-32 value in buffer. \param buf The buffer containing the data. \param len The length of the frame. \param crc The initial CRC value. This is usually 0xFFFFFFFF, or 0 for a new block (it depends on the application). It is previous returned CRC value for the continuation of a block. \return The CRC value.
crc_itu32_check
\brief Check the ITU/CCITT CRC-32 value in a frame. \param buf The buffer containing the frame. \param len The length of the frame. \return True if the CRC is OK, else false.
data_modems_call_event
data_modems_free
data_modems_get_logging_state
data_modems_init
data_modems_modulation_to_str
data_modems_release
data_modems_restart
data_modems_rx
data_modems_rx_fillin
data_modems_set_async_mode
data_modems_set_at_tx_handler
data_modems_set_modem_type
data_modems_set_tep_mode
data_modems_tx
dds
\brief Generate an integer tone sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \return The signal amplitude, between -32767 and 32767.
dds_advance
\brief Advance the phase, without returning any new signal sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied.
dds_advancef
\brief Advance the phase, without returning any new signal sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied.
dds_complex_modf
\brief Generate a complex floating point tone sample, with modulation. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \param scale The scaling factor. \param phase The phase offset. \return The complex signal amplitude, between (-1.0, -1.0) and (1.0, 1.0).
dds_complexf
\brief Generate a complex floating point tone sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \return The complex signal amplitude, between (-1.0, -1.0) and (1.0, 1.0).
dds_complexi
\brief Generate a complex integer tone sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \return The complex signal amplitude, between (-32767, -32767) and (32767, 32767).
dds_complexi16
\brief Generate a complex 16 bit integer tone sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \return The complex signal amplitude, between (-32767, -32767) and (32767, 32767).
dds_complexi32
\brief Generate a complex 32 bit integer tone sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \return The complex signal amplitude, between (-32767, -32767) and (32767, 32767).
dds_complexi16_mod
\brief Generate a complex 16bit integer tone sample, with modulation. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \param scale The scaling factor. \param phase The phase offset. \return The complex signal amplitude, between (-32767, -32767) and (32767, 32767).
dds_complexi32_mod
\brief Generate a complex 32 bit integer tone sample, with modulation. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \param scale The scaling factor. \param phase The phase offset. \return The complex signal amplitude, between (-32767, -32767) and (32767, 32767).
dds_complexi_mod
\brief Generate a complex integer tone sample, with modulation. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \param scale The scaling factor. \param phase The phase offset. \return The complex signal amplitude, between (-32767, -32767) and (32767, 32767).
dds_frequency
\brief Find the frequency, in Hz, equivalent to a phase rate. \param phase_rate The phase rate. \return The equivalent frequency, in Hz.
dds_frequencyf
\brief Find the frequency, in Hz, equivalent to a phase rate. \param phase_rate The phase rate. \return The equivalent frequency, in Hz.
dds_lookup
\brief Find the amplitude for a particular phase. \param phase The desired phase 32 bit phase. \return The signal amplitude.
dds_lookup_complexf
\brief Lookup the complex value of a specified phase. \param phase The phase accumulator value to be looked up. \return The complex signal amplitude, between (-1.0, -1.0) and (1.0, 1.0).
dds_lookup_complexi
\brief Lookup the complex integer value of a specified phase. \param phase The phase accumulator value to be looked up. \return The complex signal amplitude, between (-32767, -32767) and (32767, 32767).
dds_lookup_complexi16
\brief Generate a complex 16 bit integer tone sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \return The complex signal amplitude, between (-32767, -32767) and (32767, 32767).
dds_lookup_complexi32
\brief Generate a complex 32 bit integer tone sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \return The complex signal amplitude, between (-32767, -32767) and (32767, 32767).
dds_lookupf
\brief Lookup the floating point value of a specified phase. \param phase The phase accumulator value to be looked up. \return The signal amplitude, between -1.0 and 1.0.
dds_mod
\brief Generate an integer tone sample, with modulation. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \param scale The scaling factor. \param phase The phase offset. \return The signal amplitude, between -32767 and 32767.
dds_modf
\brief Generate a floating point tone sample, with modulation. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \param scale The scaling factor. \param phase The phase offset. \return The signal amplitude, between -1.0 and 1.0.
dds_offset
\brief Find the amplitude for a particular phase offset from an accumulated phase. \param phase_acc The accumulated phase. \param phase_offset The phase offset. \return The signal amplitude.
dds_offsetf
\brief Lookup the floating point value of a particular phase offset from an accumulated phase. \param phase_acc The accumulated phase. \param phase_offset The phase offset. \return The signal amplitude.
dds_phase_rate
\brief Find the phase rate value to achieve a particular frequency. \param frequency The desired frequency, in Hz. \return The phase rate which while achieve the desired frequency.
dds_phase_ratef
\brief Find the phase rate equivalent to a frequency, in Hz. \param frequency The frequency, in Hz. \return The equivalent phase rate.
dds_phase_to_radians
\brief Convert a 32 bit phase angle to an angle in radians, between 0 and 2*PI \param phase The angle to convert. \return The angle in radians.
dds_scaling_dbm0
\brief Find the scaling factor needed to achieve a specified level in dBm0. \param level The desired signal level, in dBm0. \return The scaling factor.
dds_scaling_dbm0f
\brief Find the scaling factor equivalent to a dBm0 value. \param level The signal level in dBm0. \return The equivalent scaling factor.
dds_scaling_dbov
\brief Find the scaling factor needed to achieve a specified level in dBmov. \param level The desired signal level, in dBmov. \return The scaling factor.
dds_scaling_dbovf
\brief Find the scaling factor equivalent to a dBmov value. \param level The signal level in dBmov. \return The equivalent scaling factor.
ddsf
\brief Generate a floating point tone sample. \param phase_acc A pointer to a phase accumulator value. \param phase_rate The phase increment to be applied. \return The signal amplitude, between -1.0 and 1.0.
dtmf_rx
Process a block of received DTMF audio samples. \brief Process a block of received DTMF audio samples. \param s The DTMF receiver context. \param amp The audio sample buffer. \param samples The number of samples in the buffer. \return The number of samples unprocessed.
dtmf_rx_fillin
Fake processing of a missing block of received DTMF audio samples. (e.g due to packet loss). \brief Fake processing of a missing block of received DTMF audio samples. \param s The DTMF receiver context. \param len The number of samples to fake. \return The number of samples unprocessed.
dtmf_rx_free
\brief Free a DTMF receiver context. \param s The DTMF receiver context. \return 0 for OK, else -1.
dtmf_rx_get
\brief Get a string of digits from a DTMF receiver’s output buffer. \param s The DTMF receiver context. \param digits The buffer for the received digits. \param max The maximum number of digits to be returned, \return The number of digits actually returned.
dtmf_rx_get_logging_state
\brief Get the logging context associated with a DTMF receiver context. \param s The DTMF receiver context. \return A pointer to the logging context
dtmf_rx_init
\brief Initialise a DTMF receiver context. \param s The DTMF receiver context. \param callback An optional callback routine, used to report received digits. If no callback routine is set, digits may be collected, using the dtmf_rx_get() function. \param user_data An opaque pointer which is associated with the context, and supplied in callbacks. \return A pointer to the DTMF receiver context.
dtmf_rx_parms
\brief Adjust a DTMF receiver context. \param s The DTMF receiver context. \param filter_dialtone True to enable filtering of dialtone, false to disable, < 0 to leave unchanged. \param twist Acceptable twist, in dB. < 0.0 to leave unchanged. \param reverse_twist Acceptable reverse twist, in dB. < 0.0 to leave unchanged. \param threshold The minimum acceptable tone level for detection, in dBm0. <= -99.0 to leave unchanged.
dtmf_rx_release
\brief Release a DTMF receiver context. \param s The DTMF receiver context. \return 0 for OK, else -1.
dtmf_rx_set_realtime_callback
Set a optional realtime callback for a DTMF receiver context. This function is called immediately a confirmed state change occurs in the received DTMF. It is called with the ASCII value for a DTMF tone pair, or zero to indicate no tone is being received. \brief Set a realtime callback for a DTMF receiver context. \param s The DTMF receiver context. \param callback Callback routine used to report the start and end of digits. \param user_data An opaque pointer which is associated with the context, and supplied in callbacks.
dtmf_rx_status
Get the status of DTMF detection during processing of the last audio chunk. \brief Get the status of DTMF detection during processing of the last audio chunk. \param s The DTMF receiver context. \return The current digit status. Either ‘x’ for a “maybe” condition, or the digit being detected.
dtmf_tx
\brief Generate a buffer of DTMF tones. \param s The DTMF generator context. \param amp The buffer for the generated signal. \param max_samples The required number of generated samples. \return The number of samples actually generated. This may be less than max_samples if the input buffer empties.
dtmf_tx_free
\brief Free a DTMF tone generator context. \param s The DTMF tone generator context. \return 0 for OK, else -1.
dtmf_tx_init
\brief Initialise a DTMF tone generator context. \param s The DTMF generator context. \param callback An optional callback routine, used to get more digits. \param user_data An opaque pointer which is associated with the context, and supplied in callbacks. \return A pointer to the DTMF generator context.
dtmf_tx_put
\brief Put a string of digits in a DTMF generator’s input buffer. \param s The DTMF generator context. \param digits The string of digits to be added. \param len The length of the string of digits. If negative, the string is assumed to be a NULL terminated string. \return The number of digits actually added. This may be less than the length of the digit string, if the buffer fills up.
dtmf_tx_release
\brief Release a DTMF tone generator context. \param s The DTMF tone generator context. \return 0 for OK, else -1.
dtmf_tx_set_level
\brief Change the transmit level for a DTMF tone generator context. \param s The DTMF generator context. \param level The level of the low tone, in dBm0. \param twist The twist, in dB.
dtmf_tx_set_timing
\brief Change the transmit on and off time for a DTMF tone generator context. \param s The DTMF generator context. \param on-time The on time, in ms. \param off_time The off time, in ms.
echo_can_adaption_mode
Set the adaption mode of a voice echo canceller context. \param ec The echo canceller context. \param adaption_mode The mode.
echo_can_flush
Flush (reinitialise) a voice echo canceller context. \param ec The echo canceller context.
echo_can_free
Free a voice echo canceller context. \param ec The echo canceller context. \return 0 for OK, else -1.
echo_can_hpf_tx
Process to high pass filter the tx signal. \param ec The echo canceller context. \param tx The transmitted auio sample. \return The HP filtered transmit sample, send this to your D/A.
echo_can_init
Create a voice echo canceller context. \param len The length of the canceller, in samples. \return The new canceller context, or NULL if the canceller could not be created.
echo_can_release
Release a voice echo canceller context. \param ec The echo canceller context. \return 0 for OK, else -1.
echo_can_snapshot
echo_can_update
Process a sample through a voice echo canceller. \param ec The echo canceller context. \param tx The transmitted audio sample. \param rx The received audio sample. \return The clean (echo cancelled) received sample.
fax_free
Free a FAX context. \brief Free a FAX context. \param s The FAX context. \return 0 for OK, else -1.
fax_get_logging_state
Get a pointer to the logging context associated with a FAX context. \brief Get a pointer to the logging context associated with a FAX context. \param s The FAX context. \return A pointer to the logging context, or NULL.
fax_get_t30_state
Get a pointer to the T.30 engine associated with a FAX context. \brief Get a pointer to the T.30 engine associated with a FAX context. \param s The FAX context. \return A pointer to the T.30 context, or NULL.
fax_init
Initialise a FAX context. \brief Initialise a FAX context. \param s The FAX context. \param calling_party True if the context is for a calling party. False if the context is for an answering party. \return A pointer to the FAX context, or NULL if there was a problem.
fax_modem_to_str
Convert a FAX modem type to a short text description. \brief Convert a FAX modem type to a short text description. \param modem The modem code. \return A pointer to the description.
fax_modems_free
fax_modems_get_logging_state
Get a pointer to the logging context associated with a FAX modems context. \brief Get a pointer to the logging context associated with a FAX modems context. \param s The FAX modems context. \return A pointer to the logging context, or NULL.
fax_modems_hdlc_accept
fax_modems_hdlc_tx_flags
fax_modems_hdlc_tx_frame
fax_modems_init
fax_modems_release
fax_modems_restart
fax_modems_set_get_bit
fax_modems_set_next_tx_handler
fax_modems_set_next_tx_type
fax_modems_set_put_bit
fax_modems_set_rx_active
fax_modems_set_rx_handler
fax_modems_set_tep_mode
fax_modems_set_tx_handler
fax_modems_start_fast_modem
fax_modems_start_slow_modem
fax_modems_v17_v21_rx
fax_modems_v17_v21_rx_fillin
fax_modems_v27ter_v21_rx
fax_modems_v27ter_v21_rx_fillin
fax_modems_v29_v21_rx
fax_modems_v29_v21_rx_fillin
fax_release
Release a FAX context. \brief Release a FAX context. \param s The FAX context. \return 0 for OK, else -1.
fax_restart
Restart a FAX context. \brief Restart a FAX context. \param s The FAX context. \param calling_party True if the context is for a calling party. False if the context is for an answering party. \return 0 for OK, else -1.
fax_rx
Apply T.30 receive processing to a block of audio samples. \brief Apply T.30 receive processing to a block of audio samples. \param s The FAX context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed. This should only be non-zero if the software has reached the end of the FAX call.
fax_rx_fillin
Apply fake T.30 receive processing when a block of audio samples is missing (e.g due to packet loss). \brief Apply fake T.30 receive processing. \param s The FAX context. \param len The number of samples to fake. \return The number of samples unprocessed. This should only be non-zero if the software has reached the end of the FAX call.
fax_set_tep_mode
Select whether talker echo protection tone will be sent for the image modems. \brief Select whether TEP will be sent for the image modems. \param s The FAX context. \param use_tep True if TEP should be sent.
fax_set_transmit_on_idle
Select whether silent audio will be sent when FAX transmit is idle. \brief Select whether silent audio will be sent when FAX transmit is idle. \param s The FAX context. \param transmit_on_idle True if silent audio should be output when the FAX transmitter is idle. False to transmit zero length audio when the FAX transmitter is idle. The default behaviour is false.
fax_tx
Apply T.30 transmit processing to generate a block of audio samples. \brief Apply T.30 transmit processing to generate a block of audio samples. \param s The FAX context. \param amp The audio sample buffer. \param max_len The number of samples to be generated. \return The number of samples actually generated. This will be zero when there is nothing to send.
fsk_rx
Process a block of received FSK modem audio samples. \brief Process a block of received FSK modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed.
fsk_rx_fillin
Fake processing of a missing block of received FSK modem audio samples (e.g due to packet loss). \brief Fake processing of a missing block of received FSK modem audio samples. \param s The modem context. \param len The number of samples to fake. \return The number of samples unprocessed.
fsk_rx_free
fsk_rx_get_framing_errors
fsk_rx_get_parity_errors
fsk_rx_init
Initialise an FSK modem receive context. \brief Initialise an FSK modem receive context. \param s The modem context. \param spec The specification of the modem tones and rate. \param framing_mode \param put_bit The callback routine used to put the received data. \param user_data An opaque pointer. \return A pointer to the modem context, or NULL if there was a problem.
fsk_rx_release
fsk_rx_restart
fsk_rx_set_frame_parameters
Set the framing parameters for a an FSK modem receive context in FSK_FRAME_MODE_FRAMED mode. \brief Set the framing parameters. \param s The modem context. \param data_bits; \param parity; \param stop_bits;
fsk_rx_set_modem_status_handler
Change the modem status report function associated with an FSK modem receive context. \brief Change the modem status report function associated with an FSK modem receive context. \param s The modem context. \param handler The callback routine used to report modem status changes. \param user_data An opaque pointer.
fsk_rx_set_put_bit
fsk_rx_set_signal_cutoff
Adjust an FSK modem receive context’s carrier detect power threshold. \brief Adjust an FSK modem receive context’s carrier detect power threshold. \param s The modem context. \param cutoff The power level, in dBm0
fsk_rx_signal_power
Get the current received signal power. \param s The modem context. \return The signal power, in dBm0.
fsk_tx
Generate a block of FSK modem audio samples. \brief Generate a block of FSK modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples to be generated. \return The number of samples actually generated.
fsk_tx_free
fsk_tx_init
Initialise an FSK modem transmit context. \brief Initialise an FSK modem transmit context. \param s The modem context. \param spec The specification of the modem tones and rate. \param get_bit The callback routine used to get the data to be transmitted. \param user_data An opaque pointer. \return A pointer to the modem context, or NULL if there was a problem.
fsk_tx_power
Adjust an FSK modem transmit context’s power output. \brief Adjust an FSK modem transmit context’s power output. \param s The modem context. \param power The power level, in dBm0
fsk_tx_release
fsk_tx_restart
fsk_tx_set_get_bit
fsk_tx_set_modem_status_handler
Change the modem status report function associated with an FSK modem transmit context. \brief Change the modem status report function associated with an FSK modem transmit context. \param s The modem context. \param handler The callback routine used to report modem status changes. \param user_data An opaque pointer.
g711_decode
\brief Decode from u-law or A-law to linear. \param s The G.711 context. \param amp The linear audio buffer. \param g711_data The G.711 data. \param g711_bytes The number of G.711 samples to decode. \return The number of samples of linear audio produced.
g711_encode
\brief Encode from linear to u-law or A-law. \param s The G.711 context. \param g711_data The G.711 data. \param amp The linear audio buffer. \param len The number of samples to encode. \return The number of G.711 samples produced.
g711_free
Free a G.711 encode or decode context. \param s The G.711 context. \return 0 for OK.
g711_init
Initialise a G.711 encode or decode context. \param s The G.711 context. \param mode The G.711 mode. \return A pointer to the G.711 context, or NULL for error.
g711_release
Release a G.711 encode or decode context. \param s The G.711 context. \return 0 for OK.
g711_transcode
\brief Transcode between u-law and A-law. \param s The G.711 context. \param g711_out The resulting G.711 data. \param g711_in The original G.711 data. \param g711_bytes The number of G.711 samples to transcode. \return The number of G.711 samples produced.
g722_decode
Decode a buffer of G.722 data to linear PCM. \param s The G.722 context. \param amp The audio sample buffer. \param g722_data \param len \return The number of samples returned.
g722_decode_free
Free a G.722 decode context. \param s The G.722 decode context. \return 0 for OK.
g722_decode_init
Initialise an G.722 decode context. \param s The G.722 decode context. \param rate The bit rate of the G.722 data. The valid rates are 64000, 56000 and 48000. \param options \return A pointer to the G.722 decode context, or NULL for error.
g722_decode_release
Release a G.722 decode context. \param s The G.722 decode context. \return 0 for OK.
g722_encode
Encode a buffer of linear PCM data to G.722 \param s The G.722 context. \param g722_data The G.722 data produced. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of bytes of G.722 data produced.
g722_encode_free
Free a G.722 encode context. \param s The G.722 encode context. \return 0 for OK.
g722_encode_init
Initialise an G.722 encode context. \param s The G.722 encode context. \param rate The required bit rate for the G.722 data. The valid rates are 64000, 56000 and 48000. \param options \return A pointer to the G.722 encode context, or NULL for error.
g722_encode_release
Release a G.722 encode context. \param s The G.722 encode context. \return 0 for OK.
g726_decode
Decode a buffer of G.726 ADPCM data to linear PCM, a-law or u-law. \param s The G.726 context. \param amp The audio sample buffer. \param g726_data \param g726_bytes \return The number of samples returned.
g726_encode
Encode a buffer of linear PCM data to G.726 ADPCM. \param s The G.726 context. \param g726_data The G.726 data produced. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of bytes of G.726 data produced.
g726_free
Free a G.726 encode or decode context. \param s The G.726 context. \return 0 for OK.
g726_init
Initialise a G.726 encode or decode context. \param s The G.726 context. \param bit_rate The required bit rate for the ADPCM data. The valid rates are 16000, 24000, 32000 and 40000. \param ext_coding The coding used outside G.726. \param packing One of the G.726_PACKING_xxx options. \return A pointer to the G.726 context, or NULL for error.
g726_release
Release a G.726 encode or decode context. \param s The G.726 context. \return 0 for OK.
godard_ted_correction
godard_ted_free
godard_ted_free_descriptor
godard_ted_init
godard_ted_make_descriptor
godard_ted_per_baud
godard_ted_release
godard_ted_rx
goertzel_free
goertzel_init
\brief Initialise the state of a Goertzel transform. \param s The Goertzel context. If NULL, a context is allocated. \param t The Goertzel descriptor. \return A pointer to the Goertzel state.
goertzel_release
goertzel_reset
\brief Reset the state of a Goertzel transform. \param s The Goertzel context.
goertzel_result
goertzel_update
\brief Update the state of a Goertzel transform. \param s The Goertzel context. \param amp The samples to be transformed. \param samples The number of samples. \return The number of samples unprocessed
gsm0610_decode
Decode a buffer of GSM 06.10 data to linear PCM. \param s The GSM 06.10 context. \param amp The audio sample buffer. \param code The GSM 06.10 data. \param len The number of bytes of GSM 06.10 data to be decoded. \return The number of samples returned.
gsm0610_encode
Encode a buffer of linear PCM data to GSM 06.10. \param s The GSM 06.10 context. \param code The GSM 06.10 data produced. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of bytes of GSM 06.10 data produced.
gsm0610_free
Free a GSM 06.10 encode or decode context. \param s The GSM 06.10 context \return 0 for success, else -1.
gsm0610_init
Initialise a GSM 06.10 encode or decode context. \param s The GSM 06.10 context \param packing One of the GSM0610_PACKING_xxx options. \return A pointer to the GSM 06.10 context, or NULL for error.
gsm0610_pack_none
gsm0610_pack_voip
Pack a GSM 06.10 frames in the format used for VoIP. \param c The buffer for the packed data. This must be at least 33 bytes long. \param s A pointer to the frame to be packed. \return The number of bytes generated.
gsm0610_pack_wav49
Pack a pair of GSM 06.10 frames in the format used for wave files (wave type 49). \param c The buffer for the packed data. This must be at least 65 bytes long. \param s A pointer to the frames to be packed. \return The number of bytes generated.
gsm0610_release
Release a GSM 06.10 encode or decode context. \param s The GSM 06.10 context \return 0 for success, else -1.
gsm0610_set_packing
Set the packing format for a GSM 06.10 encode or decode context. \param s The GSM 06.10 context \param packing One of the GSM0610_PACKING_xxx options. \return 0 for success, else -1.
gsm0610_unpack_none
gsm0610_unpack_voip
Unpack a GSM 06.10 frame from the format used for VoIP. \param s A pointer to a buffer into which the frame will be packed. \param c The buffer containing the data to be unpacked. This must be at least 33 bytes long. \return The number of bytes absorbed.
gsm0610_unpack_wav49
Unpack a pair of GSM 06.10 frames from the format used for wave files (wave type 49). \param s A pointer to a buffer into which the frames will be packed. \param c The buffer containing the data to be unpacked. This must be at least 65 bytes long. \return The number of bytes absorbed.
hdlc_rx_free
Free an HDLC receiver context. \brief Free an HDLC receiver context. \param s A pointer to an HDLC receiver context. \return 0 for OK
hdlc_rx_get_stats
\brief Get the current receive statistics. \param s A pointer to an HDLC receiver context. \param t A pointer to the buffer for the statistics. \return 0 for OK, else -1.
hdlc_rx_init
Initialise an HDLC receiver context. \brief Initialise an HDLC receiver context. \param s A pointer to an HDLC receiver context. \param crc32 True to use ITU CRC32. False to use ITU CRC16. \param report_bad_frames True to request the reporting of bad frames. \param framing_ok_threshold The number of back-to-back flags needed to start the framing OK condition. This may be used where a series of flag octets is used as a preamble, such as in the T.30 protocol. \param handler The function to be called when a good HDLC frame is received. \param user_data An opaque parameter for the callback routine. \return A pointer to the HDLC receiver context.
hdlc_rx_put
\brief Put a series of bytes of data to an HDLC receiver. \param s A pointer to an HDLC receiver context. \param buf The buffer of data. \param len The length of the data in the buffer.
hdlc_rx_put_bit
\brief Put a single bit of data to an HDLC receiver. \param s A pointer to an HDLC receiver context. \param new_bit The bit.
hdlc_rx_put_byte
\brief Put a byte of data to an HDLC receiver. \param s A pointer to an HDLC receiver context. \param new_byte The byte of data.
hdlc_rx_release
Release an HDLC receiver context. \brief Release an HDLC receiver context. \param s A pointer to an HDLC receiver context. \return 0 for OK
hdlc_rx_restart
Re-initialise an HDLC receiver context. This does not reset the usage statistics. \brief Re-initialise an HDLC receiver context. \param s A pointer to an HDLC receiver context. \return 0 for success.
hdlc_rx_set_frame_handler
Change the put_bit function associated with an HDLC receiver context. \brief Change the put_bit function associated with an HDLC receiver context. \param s A pointer to an HDLC receiver context. \param handler The function to be called when a good HDLC frame is received. \param user_data An opaque parameter for the callback routine.
hdlc_rx_set_max_frame_len
\brief Set the maximum frame length for an HDLC receiver context. \param s A pointer to an HDLC receiver context. \param max_len The maximum permitted length of a frame.
hdlc_rx_set_octet_counting_report_interval
\brief Set the octet counting report interval. \param s A pointer to an HDLC receiver context. \param interval The interval, in octets.
hdlc_rx_set_status_handler
Change the status report function associated with an HDLC receiver context. \brief Change the status report function associated with an HDLC receiver context. \param s A pointer to an HDLC receiver context. \param handler The callback routine used to report status changes. \param user_data An opaque parameter for the callback routine.
hdlc_tx_abort
\brief Send an abort. \param s A pointer to an HDLC transmitter context. \return 0 if the frame was aborted, else -1.
hdlc_tx_corrupt_frame
\brief Corrupt the frame currently being transmitted, by giving it the wrong CRC. \param s A pointer to an HDLC transmitter context. \return 0 if the frame was corrupted, else -1.
hdlc_tx_flags
\brief Transmit a specified quantity of flag octets, typically as a preamble. \param s A pointer to an HDLC transmitter context. \param len The length of the required period of flags, in flag octets. If len is zero this requests that HDLC transmission be terminated when the buffers have fully drained. \return 0 if the flags were accepted for transmission, else -1.
hdlc_tx_frame
\brief Transmit a frame. \param s A pointer to an HDLC transmitter context. \param frame A pointer to the frame to be transmitted. \param len The length of the frame to be transmitted. \return 0 if the frame was accepted for transmission, else -1.
hdlc_tx_free
Free an HDLC transmitter context. \brief Free an HDLC transmitter context. \param s A pointer to an HDLC transmitter context. \return 0 for OK
hdlc_tx_get
\brief Get the next sequence of bytes for transmission. \param s A pointer to an HDLC transmitter context. \param buf The buffer for the data. \param max_len The number of bytes to get. \return The number of bytes actually got.
hdlc_tx_get_bit
\brief Get the next bit for transmission. \param s A pointer to an HDLC transmitter context. \return The next bit for transmission.
hdlc_tx_get_byte
\brief Get the next byte for transmission. \param s A pointer to an HDLC transmitter context. \return The next byte for transmission.
hdlc_tx_init
Initialise an HDLC transmitter context. \brief Initialise an HDLC transmitter context. \param s A pointer to an HDLC transmitter context. \param crc32 True to use ITU CRC32. False to use ITU CRC16. \param inter_frame_flags The minimum flag octets to insert between frames (usually one). \param progressive True if frame creation works in progressive mode. \param handler The callback function called when the HDLC transmitter underflows. \param user_data An opaque parameter for the callback routine. \return A pointer to the HDLC transmitter context.
hdlc_tx_release
Release an HDLC transmitter context. \brief Release an HDLC transmitter context. \param s A pointer to an HDLC transmitter context. \return 0 for OK
hdlc_tx_restart
Re-initialise an HDLC transmitter context. \brief Re-initialise an HDLC transmitter context. \param s A pointer to an HDLC transmitter context. \return 0 for success.
hdlc_tx_set_max_frame_len
\brief Set the maximum frame length for an HDLC transmitter context. \param s A pointer to an HDLC transmitter context. \param max_len The maximum length.
ima_adpcm_decode
Decode a buffer of IMA ADPCM data to linear PCM. \param s The IMA ADPCM context. \param amp The audio sample buffer. \param ima_data The IMA ADPCM data \param ima_bytes The number of bytes of IMA ADPCM data \return The number of samples returned.
ima_adpcm_encode
Encode a buffer of linear PCM data to IMA ADPCM. \param s The IMA ADPCM context. \param ima_data The IMA ADPCM data produced. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of bytes of IMA ADPCM data produced.
ima_adpcm_free
Free an IMA ADPCM encode or decode context. \param s The IMA ADPCM context. \return 0 for OK.
ima_adpcm_init
Initialise an IMA ADPCM encode or decode context. \param s The IMA ADPCM context. \param variant IMA_ADPCM_IMA4, IMA_ADPCM_DVI4, or IMA_ADPCM_VDVI. \param chunk_size The size of a chunk, in samples. A chunk size of zero sample samples means treat each encode or decode operation as a chunk. \return A pointer to the IMA ADPCM context, or NULL for error.
ima_adpcm_release
Release an IMA ADPCM encode or decode context. \param s The IMA ADPCM context. \return 0 for OK.
image_translate_free
\brief Free the resources associated with an image translation context. \param s The image translation context. \return 0 for success, otherwise -1.
image_translate_get_output_length
\brief Get the length of the image being produced by an image translation context. \param s The image translation context. \return The length of the output image, in pixel.
image_translate_get_output_width
\brief Get the width of the image being produced by an image translation context. \param s The image translation context. \return The width of the output image, in pixel.
image_translate_init
\brief Initialise an image translation context for rescaling and squashing a gray scale or colour image to a bi-level FAX type image. \param s The image translation context. \param output_format The type of output image \param output_width The width of the output image, in pixels. If this is set <= 0 the image will not be resized. \param output_length The length of the output image, in pixels. If this is set to <= 0 the output length will be derived automatically from the width, to maintain the geometry of the original image. \param input_format The type of source image \param input_width The width of the source image, in pixels. \param input_length The length of the source image, in pixels. \param row_read_handler A callback routine used to pull rows of pixels from the source image into the translation process. \param row_read_user_data An opaque pointer passed to read_row_handler \return A pointer to the context, or NULL if there was a problem.
image_translate_release
\brief Release the resources associated with an image translation context. \param s The image translation context. \return 0 for success, otherwise -1.
image_translate_restart
image_translate_row
\brief Get the next row of a translated image. \param s The image translation context. \return the length of the row buffer, in bytes
image_translate_set_row_read_handler
\brief Set the row read callback routine for an image translation context. \param s The image translation context. \param row_read_handler A callback routine used to pull rows of pixels from the source image into the translation process. \param row_read_user_data An opaque pointer passed to read_row_handler \return 0 for success, else -1.
lpc10_decode
Decode a buffer of LPC10e data to linear PCM. \param s The LPC10e context. \param amp The audio sample buffer. \param code The LPC10e data. \param len The number of bytes of LPC10e data to be decoded. This must be a multiple of 7, as each frame is packed into 7 bytes. \return The number of samples returned.
lpc10_decode_free
lpc10_decode_init
Initialise an LPC10e decode context. \param s The LPC10e context \param error_correction ??? \return A pointer to the LPC10e context, or NULL for error.
lpc10_decode_release
lpc10_encode
Encode a buffer of linear PCM data to LPC10e. \param s The LPC10e context. \param ima_data The LPC10e data produced. \param amp The audio sample buffer. \param len The number of samples in the buffer. This must be a multiple of 180, as this is the number of samples on a frame. \return The number of bytes of LPC10e data produced.
lpc10_encode_free
lpc10_encode_init
Initialise an LPC10e encode context. \param s The LPC10e context \param error_correction ??? \return A pointer to the LPC10e context, or NULL for error.
lpc10_encode_release
make_goertzel_descriptor
\brief Create a descriptor for use with either a Goertzel transform
modem_connect_tone_to_str
modem_connect_tones_rx
\brief Process a block of samples through an instance of the modem connect tones detector. \param s The context. \param amp An array of signal samples. \param len The number of samples in the array. \return The number of unprocessed samples.
modem_connect_tones_rx_fillin
Fake processing of a missing block of received modem connect tone samples (e.g due to packet loss). \brief Fake processing of a missing block of received modem connect tone samples. \param s The context. \param len The number of samples to fake. \return The number of samples unprocessed.
modem_connect_tones_rx_free
\brief Free an instance of the modem connect tones detector. \param s The context. \return 0 for OK, else -1.
modem_connect_tones_rx_get
\brief Test if a modem_connect tone has been detected. \param s The context. \return The code for the detected tone.
modem_connect_tones_rx_init
\brief Initialise an instance of the modem connect tones detector. \param s The context. \param tone_type The type of connect tone being tested for. \param tone_callback An optional callback routine, used to report tones \param user_data An opaque pointer passed to the callback routine, \return A pointer to the context.
modem_connect_tones_rx_release
\brief Release an instance of the modem connect tones detector. \param s The context. \return 0 for OK, else -1.
modem_connect_tones_tx
\brief Generate a block of modem connect tones samples. \param s The context. \param amp An array of signal samples. \param len The number of samples to generate. \return The number of samples generated.
modem_connect_tones_tx_free
\brief Free an instance of the modem connect tones generator. \param s The context. \return 0 for OK, else -1.
modem_connect_tones_tx_init
\brief Initialise an instance of the modem connect tones generator. \param s The context.
modem_connect_tones_tx_release
\brief Release an instance of the modem connect tones generator. \param s The context. \return 0 for OK, else -1.
modem_echo_can_adaption_mode
Set the adaption mode of a modem echo canceller context. \param ec The echo canceller context. \param adapt The mode.
modem_echo_can_flush
Flush (reinitialise) a modem echo canceller context. \param ec The echo canceller context.
modem_echo_can_segment_free
Free a modem echo canceller context. \param ec The echo canceller context.
modem_echo_can_segment_init
Create a modem echo canceller context. \param len The length of the canceller, in samples. eturn The new canceller context, or NULL if the canceller could not be created.
modem_echo_can_update
Process a sample through a modem echo canceller. \param ec The echo canceller context. \param tx The transmitted audio sample. \param rx The received audio sample. eturn The clean (echo cancelled) received sample.
noise
Generate a sample of audio noise. \brief Generate a sample of audio noise. \param s The noise generator context. \return The generated sample.
noise_free
noise_init_dbm0
Initialise an audio noise generator. \brief Initialise an audio noise generator. \param s The noise generator context. \param seed A seed for the underlying random number generator. \param level The noise power level in dBmO. \param class_of_noise The class of noise (e.g. AWGN). \param quality A parameter which permits speed and accuracy of the noise generation to be adjusted. \return A pointer to the noise generator context.
noise_init_dbov
noise_release
oki_adpcm_decode
Decode a buffer of Oki ADPCM data to linear PCM. \param s The Oki ADPCM context. \param amp The audio sample buffer. \param oki_data \param oki_bytes \return The number of samples returned.
oki_adpcm_encode
Encode a buffer of linear PCM data to Oki ADPCM. \param s The Oki ADPCM context. \param oki_data The Oki ADPCM data produced \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of bytes of Oki ADPCM data produced.
oki_adpcm_free
Free an Oki ADPCM encode or decode context. \param s The Oki ADPCM context. \return 0 for OK.
oki_adpcm_init
Initialise an Oki ADPCM encode or decode context. \param s The Oki ADPCM context. \param bit_rate The required bit rate for the ADPCM data. The valid rates are 24000 and 32000. \return A pointer to the Oki ADPCM context, or NULL for error.
oki_adpcm_release
Release an Oki ADPCM encode or decode context. \param s The Oki ADPCM context. \return 0 for OK.
periodogram
Evaluate a periodogram. \param coeffs A set of coefficients generated by periodogram_generate_coeffs(). \param amp The complex amplitude of the signal. \param len The length of the periodogram, in samples. This must be an even number. \return The periodogram result.
periodogram_apply
Evaluate a periodogram, based on data prepared by periodogram_prepare(). This is more efficient than using periodogram() when several periodograms are to be applied to the same signal. \param coeffs A set of coefficients generated by periodogram_generate_coeffs(). \param sum A vector of sums produced by periodogram_prepare(). \param diff A vector of differences produced by periodogram_prepare(). \param len The length of the periodogram, in samples. This must be an even number. \return The periodogram result.
periodogram_freq_error
Apply a phase offset, to find the frequency error between periodogram evaluations. specified interval. \param phase_offset A point to the expected phase offset. \param scale The scaling factor to be used. \param last_result A pointer to the previous periodogram result. \param result A pointer to the current periodogram result. \return The frequency error, in Hz.
periodogram_generate_coeffs
Generate a Hamming weighted coefficient set, to be used for a periodogram analysis. \param coeffs The generated coefficients. \param freq The frequency to be matched by the periodogram, in Hz. \param sample_rate The sample rate of the signal, in samples per second. \param window_len The length of the periodogram window. This must be an even number. \return The number of generated coefficients.
periodogram_generate_phase_offset
Generate the phase offset to be expected between successive periodograms evaluated at the specified interval. \param offset A point to the generated phase offset. \param freq The frequency being matched by the periodogram, in Hz. \param sample_rate The sample rate of the signal, in samples per second. \param interval The interval between periodograms, in samples. \return The scaling factor.
periodogram_prepare
Prepare data for evaluating a set of periodograms. \param sum A vector of sums of pairs of signal samples. This will be half the length of len. \param diff A vector of differences between pairs of signal samples. This will be half the length of len. \param amp The complex amplitude of the signal. \param len The length of the periodogram, in samples. This must be an even number. \return The length of the vectors sum and diff.
playout_current_length
Find the current length of the buffer. \param s The play-out context. \return The length of the buffer.
playout_free
Free an instance of play-out buffering. \param s The play-out context to be destroyed \return 0 if OK, else -1
playout_get
Get the next frame. \param s The play-out context. \param frame The frame. \param sender_stamp The sender’s timestamp. \return One of PLAYOUT_OK: Suitable frame found. PLAYOUT_DROP: A frame which should be dropped was found (e.g. it arrived too late). The caller should request the same time again when this occurs. PLAYOUT_NOFRAME: There’s no frame scheduled for this time. PLAYOUT_FILLIN: Synthetic signal must be generated, as no real data is available for this time (either we need to grow, or there was a lost frame). PLAYOUT_EMPTY: The buffer is empty.
playout_get_unconditional
Unconditionally get the first buffered frame. This may be used to clear out the queue, and free all its contents, before the context is freed. \param s The play-out context. \return The frame, or NULL is the queue is empty.
playout_init
Create a new instance of play-out buffering. \param min_length Minimum length of the buffer, in samples. \param max_length Maximum length of the buffer, in samples. If this equals min_length, static length buffering is used. \return The new context
playout_next_due
Find the time at which the next queued frame is due to play. Note: This value may change backwards as freshly received out of order frames are added to the buffer. \param s The play-out context. \return The next timestamp.
playout_put
Queue a frame \param s The play-out context. \param data The frame data. \param sender_len Length of frame (for voice) in timestamp units. \param sender_stamp Sending end’s time stamp. \param receiver_stamp Local time at which packet was received, in timestamp units. \return One of PLAYOUT_OK: Frame queued OK. PLAYOUT_ERROR: Some problem occured - e.g. out of memory.
playout_release
Release an instance of play-out buffering. \param s The play-out context to be releaased \return 0 if OK, else -1
playout_restart
Reset an instance of play-out buffering. NOTE: The buffer should be empty before you call this function, otherwise you will leak queued frames, and some internal structures \param s The play-out context. \param min_length Minimum length of the buffer, in samples. \param max_length Maximum length of the buffer, in samples. If this equals min_length, static length buffering is used.
plc_fillin
Fill-in a block of missing audio samples. \brief Fill-in a block of missing audio samples. \param s The packet loss concealer context. \param amp The audio sample buffer. \param len The number of samples to be synthesised. \return The number of samples synthesized.
plc_free
Free a packet loss concealer context. \param s The packet loss concealer context. \return 0 for OK.
plc_init
Initialise a packet loss concealer context. \brief Initialise a PLC context. \param s The packet loss concealer context. \return A pointer to the the packet loss concealer context.
plc_release
Release a packet loss concealer context. \param s The packet loss concealer context. \return 0 for OK.
plc_rx
Process a block of received audio samples for PLC. \brief Process a block of received audio samples for PLC. \param s The packet loss concealer context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples in the buffer.
power_meter_current
Get the current power meter reading. \brief Get the current power meter reading. \param s The power meter context. \return The current power meter reading.
power_meter_current_dbm0
Get the current power meter reading, in dBm0. \brief Get the current power meter reading, in dBm0. \param s The power meter context. \return The current power meter reading, in dBm0.
power_meter_current_dbov
Get the current power meter reading, in dBOv. \brief Get the current power meter reading, in dBOv. \param s The power meter context. \return The current power meter reading, in dBOv.
power_meter_damping
Change the damping factor of a power meter context. \brief Change the damping factor of a power meter context. \param s The power meter context. \param shift The new shift to be used by the IIR filter. \return The power meter context.
power_meter_free
power_meter_init
Initialise a power meter context. \brief Initialise a power meter context. \param s The power meter context. \param shift The shift to be used by the IIR filter. \return The power meter context.
power_meter_level_dbm0
Get the power meter reading which represents a specified power level in dBm0. \brief Get the current power meter reading, in dBm0. \param level A power level, in dB0m. \return The equivalent power meter reading.
power_meter_level_dbov
Get the power meter reading which represents a specified power level in dBOv. \brief Get the current power meter reading, in dBOv. \param level A power level, in dBOv. \return The equivalent power meter reading.
power_meter_release
power_meter_rx
Update a power meter with a block of samples. \brief Update a power meter. \param s The power meter context. \param amp The amplitude of the new audio sample. \param len The number of samples \return The current power meter reading.
power_meter_update
Update a power meter with a signal sample. \brief Update a power meter. \param s The power meter context. \param amp The amplitude of the new audio sample. \return The current power meter reading.
power_surge_detector
power_surge_detector_current_dbm0
Get the current surge detector short term meter reading, in dBm0. \brief Get the current surge detector meter reading, in dBm0. \param s The power surge detector context. \return The current power surge detector power reading, in dBm0.
power_surge_detector_current_dbov
Get the current surge detector short term meter reading, in dBOv. \brief Get the current surge detector meter reading, in dBOv. \param s The power surge detector context. \return The current power surge detector power reading, in dBOv.
power_surge_detector_free
power_surge_detector_init
power_surge_detector_release
queue_contents
Check the contents of a queue. \brief Check the contents of a queue. \param s The queue context. \return The number of bytes in the queue.
queue_empty
Check if a queue is empty. \brief Check if a queue is empty. \param s The queue context. \return True if empty, else false.
queue_flush
Flush the contents of a queue. \brief Flush the contents of a queue. \param s The queue context.
queue_free
Free a queue. \brief Delete a queue. \param s The queue context. \return 0 if OK, else -1.
queue_free_space
Check the available free space in a queue’s buffer. \brief Check available free space. \param s The queue context. \return The number of bytes of free space.
queue_init
Initialise a queue. \brief Initialise a queue. \param s The queue context. If is imperative that the context this points to is immediately followed by a buffer of the required size + 1 octet. \param len The length of the queue’s buffer. \param flags Flags controlling the operation of the queue. Valid flags are QUEUE_READ_ATOMIC and QUEUE_WRITE_ATOMIC. \return A pointer to the context if OK, else NULL.
queue_read
Read bytes from a queue. \brief Read bytes from a queue. \param s The queue context. \param buf The buffer into which the bytes will be read. \param len The length of the buffer. \return the number of bytes returned.
queue_read_byte
Read a byte from a queue. \brief Read a byte from a queue. \param s The queue context. \return the byte, or -1 if the queue is empty.
queue_read_msg
Read a message from a queue. If the message is longer than the buffer provided, only the first len bytes of the message will be returned. The remainder of the message will be discarded. \brief Read a message from a queue. \param s The queue context. \param buf The buffer into which the message will be read. \param len The length of the buffer. \return The number of bytes returned. If there are no messages in the queue, -1 is returned.
queue_release
Release a queue. \brief Release a queue. \param s The queue context. \return 0 if OK, else -1.
queue_state_test_msg
Test the length of the message at the head of a queue. \brief Test message length. \param s The queue context. \return The length of the next message, in byte. If there are no messages in the queue, -1 is returned.
queue_view
Copy bytes from a queue. This is similar to queue_read, but the data remains in the queue. \brief Copy bytes from a queue. \param s The queue context. \param buf The buffer into which the bytes will be read. \param len The length of the buffer. \return the number of bytes returned.
queue_write
Write bytes to a queue. \brief Write bytes to a queue. \param s The queue context. \param buf The buffer containing the bytes to be written. \param len The length of the buffer. \return the number of bytes actually written.
queue_write_byte
Write a byte to a queue. \brief Write a byte to a queue. \param s The queue context. \param byte The byte to be written. \return the number of bytes actually written.
queue_write_msg
Write a message to a queue. \brief Write a message to a queue. \param s The queue context. \param buf The buffer from which the message will be written. \param len The length of the message. \return The number of bytes actually written.
sig_tone_rx
Process a block of received audio samples. \brief Process a block of received audio samples. \param s The signalling tone context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed.
sig_tone_rx_free
Free a signalling tone receiver context. \brief Free a signalling tone receiver context. \param s The signalling tone context. \return 0 for OK
sig_tone_rx_init
Initialise a signalling tone receiver context. \brief Initialise a signalling tone context. \param s The signalling tone context. \param tone_type The type of signalling tone. \param sig_update Callback function to handle signalling updates. \param user_data An opaque pointer. \return A pointer to the signalling tone context, or NULL if there was a problem.
sig_tone_rx_release
Release a signalling tone receiver context. \brief Release a signalling tone receiver context. \param s The signalling tone context. \return 0 for OK
sig_tone_rx_set_mode
Set the receive mode. \brief Set the receive mode. \param s The signalling tone context. \param mode The new mode for the receiver. \param duration The duration for this mode, before an update is requested. A duration of zero means forever.
sig_tone_tx
Generate a block of signalling tone audio samples. \brief Generate a block of signalling tone audio samples. \param s The signalling tone context. \param amp The audio sample buffer. \param len The number of samples to be generated. \return The number of samples actually generated.
sig_tone_tx_free
Free a signalling tone transmitter context. \brief Free a signalling tone transmitter context. \param s The signalling tone context. \return 0 for OK
sig_tone_tx_init
Initialise a signalling tone transmitter context. \brief Initialise a signalling tone context. \param s The signalling tone context. \param tone_type The type of signalling tone. \param sig_update Callback function to handle signalling updates. \param user_data An opaque pointer. \return A pointer to the signalling tone context, or NULL if there was a problem.
sig_tone_tx_release
Release a signalling tone transmitter context. \brief Release a signalling tone transmitter context. \param s The signalling tone context. \return 0 for OK
sig_tone_tx_set_mode
Set the tone mode. \brief Set the tone mode. \param s The signalling tone context. \param mode The new mode for the transmitted tones. \param duration The duration for this mode, before an update is requested. A duration of zero means forever.
silence_gen
Generate a block of silent audio samples. \brief Generate a block of silent audio samples. \param s The silence generator context. \param amp The audio sample buffer. \param max_len The number of samples to be generated. \return The number of samples actually generated. This will be zero when there is nothing to send.
silence_gen_alter
Alter the period of a silence generator context by a specified amount. \brief Alter the period of a silence generator context by a specified amount. \param s The silence generator context. \param silent_samples The number of samples to change the setting by. A positive number increases the duration. A negative number reduces it. The duration is prevented from going negative.
silence_gen_always
Set a silence generator context to output continuous silence. \brief Set a silence generator context to output continuous silence. \param s The silence generator context.
silence_gen_free
silence_gen_generated
Find the total silence generated to date by a silence generator context. \brief Find the total silence generated to date. \param s The silence generator context. \return The number of samples generated.
silence_gen_init
Initialise a timed silence generator context. \brief Initialise a timed silence generator context. \param s The silence generator context. \param silent_samples The initial number of samples to set the silence to. \return A pointer to the silence generator context.
silence_gen_release
silence_gen_remainder
Find how long a silence generator context has to run. \brief Find how long a silence generator context has to run. \param s The silence generator context. \return The number of samples remaining.
silence_gen_set
Set a silence generator context to output a specified period of silence. \brief Set a silence generator context to output a specified period of silence. \param s The silence generator context. \param silent_samples The number of samples to be generated.
silence_gen_status_handler
Change the status reporting function associated with a silence generator context. \brief Change the status reporting function associated with a silence generator context. \param s The silence generator context. \param handler The callback routine used to report status changes. \param user_data An opaque pointer.
span_log
Generate a log entry. \brief Generate a log entry. \param s The logging context. \param level The severity level of the entry. \param format ??? \return 0 if no output generated, else 1.
span_log_buf
Generate a log entry displaying the contents of a buffer. \brief Generate a log entry displaying the contents of a buffer \param s The logging context. \param level The severity level of the entry. \param tag A label for the log entry. \param buf The buffer to be dumped to the log. \param len The length of buf. \return 0 if no output generated, else 1.
span_log_bump_samples
span_log_bump_time
span_log_free
span_log_get_level
span_log_get_protocol
span_log_get_tag
span_log_init
span_log_release
span_log_set_level
span_log_set_message_handler
span_log_set_protocol
span_log_set_sample_rate
span_log_set_tag
span_log_test
Test if logging of a specified severity level is enabled. \brief Test if logging of a specified severity level is enabled. \param s The logging context. \param level The severity level to be tested. \return True if logging is enable.
span_set_message_handler
sprt_free
\brief Free an SPRT context. \param s The SPRT context. \return 0 for OK.
sprt_get_far_busy_status
Test whether the far end of the specified channel of the SPRT context is currently busy. \brief Test if far end of SPRT context is busy. \param s The SPRT context. \param channel The SPRT channel number. \return true for busy
sprt_get_far_tc_payload_bytes
sprt_get_far_tc_windows_size
sprt_get_local_tc_max_tries
sprt_get_local_tc_payload_bytes
sprt_get_local_tc_windows_size
sprt_get_logging_state
Get the logging context associated with an SPRT context. \brief Get the logging context associated with an SPRT context. \param s The SPRT context. \return A pointer to the logging context
sprt_get_tc_timeout
sprt_init
\brief Initialise an SPRT context. \param s The SPRT context. \param subsession_id The subsession ID for transmitted SPRT headers \param rx_payload_type The payload type expected in received SPRT headers \param tx_payload_type The payload type sent in transmitted SPRT headers \param parms The parameter set for sizing the SPRT instance. NULL means use the defaults. \param tx_packet_handler The callback function, used to send assembled packets. \param tx_user_data An opaque pointer supplied to tx_packet_handler. \param rx_delivery_handler The callback function, used to report arriving packets. \param rx_user_data An opaque pointer supplied to rx_delivery_handler. \param timer_handler The callback function, used to control the timers used by SPRT. \param timer_user_data An opaque pointer supplied to timer_handler. \param status_handler The callback function, used to report status events. \param status_user_data An opaque pointer supplied to status_handler. \return A pointer to the SPRT context, or NULL if there was a problem.
sprt_release
\brief Release an SPRT context. \param s The SPRT context. \return 0 for OK.
sprt_rx_packet
\brief Process a packet arriving from the far end. If the packet validates as an SPRT packet 0 is returned. If the packet does not follow the structure of an SPRT packet, or its packet type field does not contain the expected value, -1 is returned. In a mixed packet environment, where things like RTP, T.38 and SPRT packets are mixed in the same stream, -1 should indicate than one of the other packet sinks should be tried. \param s The SPRT context. \param pkt The SPRT packet buffer. \param len The length of the packet. \return 0 for accepted as a valid SPRT packet. -1 for rejected as an SPRT packet.
sprt_set_far_tc_payload_bytes
sprt_set_far_tc_windows_size
sprt_set_local_busy
Set whether the local end of the specified channel of the SPRT context is currently busy. \brief Test if local end of SPRT context is busy. \param s The SPRT context. \param channel The SPRT channel number. \param busy true for busy. \return true for previously busy
sprt_set_local_tc_max_tries
sprt_set_local_tc_payload_bytes
sprt_set_local_tc_windows_size
sprt_set_tc_timeout
sprt_timer_expired
sprt_transmission_channel_to_str
\brief Find the name of an SPRT channel. \param channel The number of the SPRT channel (0 to 3). \return A pointer to a short string name for the channel, or NULL for an invalid channel.
sprt_tx
\brief Send a message to a SPRT channel. \param s The SPRT context. \param channel The SPRT channel. \param buf The message. \param len The length of the message. \return 0 for OK.
super_tone_rx
Apply supervisory tone detection processing to a block of audio samples. \brief Apply supervisory tone detection processing to a block of audio samples. \param super The supervisory tone context. \param amp The audio sample buffer. \param samples The number of samples in the buffer. \return The number of samples processed.
super_tone_rx_add_element
Add a new tone pattern element to a tone pattern in a supervisory tone detector. \param desc The supervisory tone set desciptor. \param tone The tone ID within the descriptor. \param f1 Frequency 1 (-1 for a silent period). \param f2 Frequency 2 (-1 for a silent period, or only one frequency). \param min The minimum duration, in ms. \param max The maximum duration, in ms. \return The new number of elements in the tone description.
super_tone_rx_add_tone
Add a new tone pattern to a supervisory tone detector set. \param desc The supervisory tone set descriptor. \return The new tone ID.
super_tone_rx_fillin
Allow for a missing block of samples to a supervisory tone detector. \brief Allow for a missing block of samples to a supervisory tone detector. \param super The supervisory tone context. \param samples The number of samples to allow for. \return The number of samples processed.
super_tone_rx_free
Free a supervisory tone detector. \param s The supervisory tone context. \return 0 for OK, -1 for fail.
super_tone_rx_free_descriptor
Free a supervisory tone detector descriptor. \param desc The supervisory tone set desciptor. \return 0 for OK, -1 for fail.
super_tone_rx_init
Initialise a supervisory tone detector. \param s The supervisory tone detector context. \param desc The tone descriptor. \param callback The callback routine called to report the valid detection or termination of one of the monitored tones. \param user_data An opaque pointer passed when calling the callback routine. \return The supervisory tone detector context.
super_tone_rx_make_descriptor
Create a new supervisory tone detector descriptor. \param desc The supervisory tone set desciptor. If NULL, the routine will allocate space for a descriptor. \return The supervisory tone set descriptor.
super_tone_rx_release
Release a supervisory tone detector. \param s The supervisory tone context. \return 0 for OK, -1 for fail.
super_tone_rx_segment_callback
Define a callback routine to be called each time a tone pattern element is complete. This is mostly used when analysing a tone. \param s The supervisory tone context. \param callback The callback routine.
super_tone_rx_tone_callback
Define a callback routine to be called to report the valid detection or termination of one of the monitored tones. \param s The supervisory tone context. \param callback The callback routine called to report the valid detection or termination of one of the monitored tones. \param user_data An opaque pointer passed when calling the callback routine.
super_tone_tx
Generate a block of audio samples for a supervisory tone pattern. \brief Generate a block of audio samples for a supervisory tone pattern. \param s The supervisory tone context. \param amp The audio sample buffer. \param max_samples The maximum number of samples to be generated. \return The number of samples generated.
super_tone_tx_free
super_tone_tx_free_tone
super_tone_tx_init
Initialise a supervisory tone generator. \brief Initialise a supervisory tone generator. \param s The supervisory tone generator context. \param tree The supervisory tone tree to be generated. \return The supervisory tone generator context.
super_tone_tx_make_step
super_tone_tx_release
swept_tone
swept_tone_current_frequency
swept_tone_free
swept_tone_init
swept_tone_release
t4_compression_to_str
Get the short text name of a compression format. \brief Get the short text name of an encoding format. \param compression The compression type. \return A pointer to the string.
t4_image_resolution_to_str
Get the short text name of an image resolution. \brief Get the short text name of an image resolution. \param resolution_code The image resolution code. \return A pointer to the string.
t4_image_type_to_str
Get the short text name of an image format. \brief Get the short text name of an image format. \param type The image format. \return A pointer to the string.
t4_rx_end_page
\brief Complete the reception of a page. \param s The T.4 receive context. \return 0 for success, otherwise -1.
t4_rx_free
\brief End reception of a document. Tidy up, close the file and free the context. This should be used to end T.4 reception started with t4_rx_init. \param s The T.4 receive context. \return 0 for success, otherwise -1.
t4_rx_get_logging_state
Get the logging context associated with a T.4 receive context. \brief Get the logging context associated with a T.4 receive context. \param s The T.4 receive context. \return A pointer to the logging context
t4_rx_get_transfer_statistics
Get the current image transfer statistics. \brief Get the current transfer statistics. \param s The T.4 context. \param t A pointer to a statistics structure.
t4_rx_init
\brief Prepare for reception of a document. \param s The T.4 context. \param file The name of the file to be received. \param supported_output_compressions The compression schemes supported for output to a TIFF file. \return A pointer to the context, or NULL if there was a problem.
t4_rx_put
\brief Put a byte of the current document page. \param s The T.4 context. \param buf The buffer containing the chunk. \param len The length of the chunk. \return Decode status.
t4_rx_put_bit
\brief Put a bit of the current document page. \param s The T.4 context. \param bit The data bit. \return Decode status.
t4_rx_release
\brief End reception of a document. Tidy up and close the file. This should be used to end T.4 reception started with t4_rx_init. \param s The T.4 receive context. \return 0 for success, otherwise -1.
t4_rx_set_dcs
\brief Set the DCS information of the fax, for inclusion in the file. \param s The T.4 context. \param dcs The DCS information, formatted as an ASCII string.
t4_rx_set_far_ident
\brief Set the identity of the remote machine, for inclusion in the file. \param s The T.4 context. \param ident The identity string.
t4_rx_set_image_width
\brief Set the expected width of the received image, in pixel columns. \param s The T.4 context. \param width The number of pixels across the image.
t4_rx_set_model
\brief Set the model of the remote machine, for inclusion in the file. \param s The T.4 context. \param model The model string, or NULL.
t4_rx_set_row_write_handler
\brief Set the row write handler for a T.4 receive context. \param s The T.4 receive context. \param handler A pointer to the handler routine. \param user_data An opaque pointer passed to the handler routine. \return 0 for success, otherwise -1.
t4_rx_set_rx_encoding
\brief Set the encoding for the received data. \param s The T.4 context. \param encoding The encoding. \return 0 for success, otherwise -1.
t4_rx_set_sub_address
\brief Set the sub-address of the fax, for inclusion in the file. \param s The T.4 context. \param sub_address The sub-address string.
t4_rx_set_vendor
\brief Set the vendor of the remote machine, for inclusion in the file. \param s The T.4 context. \param vendor The vendor string, or NULL.
t4_rx_set_x_resolution
\brief Set the column-to-column (x) resolution to expect for a received image. \param s The T.4 context. \param resolution The resolution, in pixels per metre.
t4_rx_set_y_resolution
\brief Set the row-to-row (y) resolution to expect for a received image. \param s The T.4 context. \param resolution The resolution, in pixels per metre.
t4_rx_start_page
\brief Prepare to receive the next page of the current document. \param s The T.4 context. \return zero for success, -1 for failure.
t4_t6_decode_free
t4_t6_decode_get_compressed_image_size
\brief Get the size of the compressed image, in bits. \param s The T.4/T.6 context. \return The size of the compressed image, in bits.
t4_t6_decode_get_image_length
\brief Get the length of the image. \param s The T.4/T.6 context. \return The length of the image, in pixels.
t4_t6_decode_get_image_width
\brief Get the width of the image. \param s The T.4/T.6 context. \return The width of the image, in pixels.
t4_t6_decode_get_logging_state
Get the logging context associated with a T.4 or T.6 decode context. \brief Get the logging context associated with a T.4 or T.6 decode context. \param s The T.4/T.6 context. \return A pointer to the logging context
t4_t6_decode_init
\brief Prepare to decode an image in T.4 or T.6 format. \param s The T.4/T.6 context. \param encoding The encoding mode. \param image width The image width, in pixels. \param handler A callback routine to handle decoded image rows. \param user_data An opaque pointer passed to handler. \return A pointer to the context, or NULL if there was a problem.
t4_t6_decode_put
\brief Put a byte of the current document page. \param s The T.4/T.6 context. \param buf The buffer containing the chunk. \param len The length of the chunk. \return T4_DECODE_MORE_DATA when the image is still in progress. T4_DECODE_OK when the image is complete.
t4_t6_decode_put_bit
\brief Put a bit of the current document page. \param s The T.4/T.6 context. \param bit The data bit. \return Decode status.
t4_t6_decode_release
t4_t6_decode_restart
t4_t6_decode_set_encoding
\brief Set the encoding for the encoded data. \param s The T.4/T.6 context. \param encoding The encoding. \return 0 for success, otherwise -1.
t4_t6_decode_set_row_write_handler
\brief Set the row write handler for a T.4/T.6 decode context. \param s The T.4/T.6 context. \param handler A pointer to the handler routine. \param user_data An opaque pointer passed to the handler routine. \return 0 for success, otherwise -1.
t4_t6_encode_free
t4_t6_encode_get
\brief Get the next chunk of the current document page. The document will be padded for the current minimum scan line time. \param s The T.4/T.6 context. \param buf The buffer into which the chunk is to written. \param max_len The maximum length of the chunk. \return The actual length of the chunk. If this is less than max_len it indicates that the end of the document has been reached.
t4_t6_encode_get_bit
\brief Get the next bit of the current image. The image will be padded for the current minimum scan line time. \param s The T.4/T.6 context. \return The next bit (i.e. 0 or 1). SIG_STATUS_END_OF_DATA for no more data.
t4_t6_encode_get_compressed_image_size
\brief Get the size of the compressed image, in bits. \param s The T.4/T.6 context. \return The size of the compressed image, in bits.
t4_t6_encode_get_image_length
\brief Get the length of the image. \param s The T.4/T.6 context. \return The length of the image, in pixels.
t4_t6_encode_get_image_width
\brief Get the width of the image. \param s The T.4/T.6 context. \return The width of the image, in pixels.
t4_t6_encode_get_logging_state
Get the logging context associated with a T.4 or T.6 encode context. \brief Get the logging context associated with a T.4 or T.6 encode context. \param s The T.4/T.6 context. \return A pointer to the logging context
t4_t6_encode_image_complete
\brief Return the next bit of the current document page, without actually moving forward in the buffer. The document will be padded for the current minimum scan line time. \param s The T.4/T.6 context. \return 0 for more data to come. SIG_STATUS_END_OF_DATA for no more data.
t4_t6_encode_init
\brief Prepare to encode an image in T.4 or T.6 format. \param s The T.4/T.6 context. \param encoding The encoding mode. \param image_width The image width, in pixels. \param image_length The image length, in pixels. This can be set to -1, if the length is not known. \param handler A callback routine to handle decoded image rows. \param user_data An opaque pointer passed to handler. \return A pointer to the context, or NULL if there was a problem.
t4_t6_encode_release
t4_t6_encode_restart
\brief Restart a T.4 or T.6 encode context. \param s The T.4/T.6 context. \param image_width The image width, in pixels. \param image_length The image length, in pixels. This can be set to -1, if the length is not known. \return 0 for success, otherwise -1.
t4_t6_encode_set_encoding
\brief Set the encoding for the encoded data. \param s The T.4/T.6 context. \param encoding The encoding. \return 0 for success, otherwise -1.
t4_t6_encode_set_image_length
\brief Set the length of the image. \param s The T.4/T.6 context. \param image_length The image length, in pixels. \return 0 for success, otherwise -1.
t4_t6_encode_set_image_width
\brief Set the width of the image. \param s The T.4/T.6 context. \param image_width The image width, in pixels. \return 0 for success, otherwise -1.
t4_t6_encode_set_max_2d_rows_per_1d_row
\brief Set the maximum number of 2D encoded rows between 1D encoded rows. This is only valid for T.4 2D encoding. \param s The T.4/T.6 context. \param max The “K” parameter defined in the T.4 specification. This means the value is one greater than the maximum number of 2D rows between each 1D row.
t4_t6_encode_set_min_bits_per_row
\brief Set the minimum number of encoded bits per row. This allows the makes the encoding process to be set to comply with the minimum row time specified by a remote receiving machine. \param s The T.4/T.6 context. \param bits The minimum number of bits per row.
t4_t6_encode_set_row_read_handler
\brief Set the row read handler for a T.4/T.6 encode context. \param s The T.4/T.6 context. \param handler A pointer to the handler routine. \param user_data An opaque pointer passed to the handler routine. \return 0 for success, otherwise -1.
t4_tx_end_page
\brief Complete the sending of a page. \param s The T.4 context. \return zero for success, -1 for failure.
t4_tx_free
\brief End the transmission of a document. Tidy up, close the file and free the context. This should be used to end T.4 transmission started with t4_tx_init. \param s The T.4 context. \return 0 for success, otherwise -1.
t4_tx_get
\brief Get the next chunk of the current document page. The document will be padded for the current minimum scan line time. \param s The T.4 context. \param buf The buffer into which the chunk is to written. \param max_len The maximum length of the chunk. \return The actual length of the chunk. If this is less than max_len it indicates that the end of the document has been reached.
t4_tx_get_bit
\brief Get the next bit of the current document page. The document will be padded for the current minimum scan line time. \param s The T.4 context. \return The next bit (i.e. 0 or 1). SIG_STATUS_END_OF_DATA for no more data.
t4_tx_get_current_page_in_file
\brief Get the currnet page number in the file. \param s The T.4 context. \return The page number, or -1 if there is an error.
t4_tx_get_logging_state
Get the logging context associated with a T.4 transmit context. \brief Get the logging context associated with a T.4 transmit context. \param s The T.4 transmit context. \return A pointer to the logging context
t4_tx_get_pages_in_file
\brief Get the number of pages in the file. \param s The T.4 context. \return The number of pages, or -1 if there is an error.
t4_tx_get_transfer_statistics
Get the current image transfer statistics. \brief Get the current transfer statistics. \param s The T.4 context. \param t A pointer to a statistics structure.
t4_tx_get_tx_compression
\brief Get the compression for the encoded data. \param s The T.4 context. \return the chosen compression for success, otherwise -1.
t4_tx_get_tx_image_type
\brief Get the image type of the encoded data. \param s The T.4 context. \return the chosen image type for success, otherwise -1.
t4_tx_get_tx_image_width
\brief Get the width of the encoded data. \param s The T.4 context. \return the width, in pixels, for success, otherwise -1.
t4_tx_get_tx_image_width_code
\brief Get the width code of the encoded data. \param s The T.4 context. \return the width code, for success, otherwise -1.
t4_tx_get_tx_resolution
\brief Get the X and Y resolution code of the current page. \param s The T.4 context. \return The resolution code,.
t4_tx_get_tx_x_resolution
\brief Get the column-to-column (x) resolution of the current page. \param s The T.4 context. \return The resolution, in pixels per metre.
t4_tx_get_tx_y_resolution
\brief Get the row-to-row (y) resolution of the current page. \param s The T.4 context. \return The resolution, in pixels per metre.
t4_tx_image_complete
\brief Return the next bit of the current document page, without actually moving forward in the buffer. The document will be padded for the current minimum scan line time. \param s The T.4 context. \return 0 for more data to come. SIG_STATUS_END_OF_DATA for no more data.
t4_tx_init
\brief Prepare for transmission of a document. \param s The T.4 context. \param file The name of the file to be sent. \param start_page The first page to send. -1 for no restriction. \param stop_page The last page to send. -1 for no restriction. \return A pointer to the context, or NULL if there was a problem.
t4_tx_next_page_has_different_format
\brief Check for the existance of the next page, and whether its format is like the current one. This information can be needed before it is determined that the current page is finished with. \param s The T.4 context. \return 0 for next page found with the same format as the current page. 1 for next page found with different format from the current page. -1 for no page found, or file failure.
t4_tx_release
\brief End the transmission of a document. Tidy up and close the file. This should be used to end T.4 transmission started with t4_tx_init. \param s The T.4 context. \return 0 for success, otherwise -1.
t4_tx_restart_page
\brief Prepare the current page for a resend. \param s The T.4 context. \return zero for success, -1 for failure.
t4_tx_set_header_info
Set the info field, included in the header line included in each page of an encoded FAX. This is a string of up to 50 characters. Other information (date, local ident, etc.) are automatically included in the header. If the header info is set to NULL or a zero length string, no header lines will be added to the encoded FAX. \brief Set the header info. \param s The T.4 context. \param info A string, of up to 50 bytes, which will form the info field.
t4_tx_set_header_overlays_image
Set page header extends or overlays the image mode. \brief Set page header overlay mode. \param s The T.4 context. \param header_overlays_image True for overlay, or false to extend the page.
t4_tx_set_header_tz
Set the time zone for the time stamp in page header lines. If this function is not used the current time zone of the program’s environment is used. \brief Set the header timezone. \param s The T.4 context. \param tz A time zone descriptor.
t4_tx_set_local_ident
\brief Set the identity of the local machine, for inclusion in page headers. \param s The T.4 context. \param ident The identity string.
t4_tx_set_max_2d_rows_per_1d_row
\brief Set the maximum number of 2D encoded rows between 1D encoded rows. This is only valid for T.4 2D encoding. \param s The T.4 context. \param max The maximum number of 2D rows.
t4_tx_set_min_bits_per_row
\brief Set the minimum number of encoded bits per row. This allows the makes the encoding process to be set to comply with the minimum row time specified by a remote receiving machine. \param s The T.4 context. \param bits The minimum number of bits per row.
t4_tx_set_row_read_handler
\brief Set the row read handler for a T.4 transmit context. \param s The T.4 transmit context. \param handler A pointer to the handler routine. \param user_data An opaque pointer passed to the handler routine. \return 0 for success, otherwise -1.
t4_tx_set_tx_image_format
\brief Auto-select the format in which to send the image. \param s The T.4 context. \param supported_compressions The set of compressions supported for this transmission \param supported_image_sizes The set of image sizes supported for this transmission \param supported_bilevel_resolutions The set of bi-level resolutions supported for this transmission \param supported_colour_resolutions The set of gray scale and colour resolutions supported for this transmission \return A t4_image_format_status_t result code
t4_tx_start_page
\brief Prepare to send the next page of the current document. \param s The T.4 context. \return zero for success, -1 for failure.
t30_call_active
Check if a T.30 call is still active. This may be used to regularly poll if the job has finished. \brief Check if a T.30 call is still active. \param s The T.30 context. \return True for call still active, or false for call completed.
t30_completion_code_to_str
Convert a phase E completion code to a short text description. \brief Convert a phase E completion code to a short text description. \param result The result code. \return A pointer to the description.
t30_frametype
Return a text name for a T.30 frame type. \brief Return a text name for a T.30 frame type. \param x The frametype octet. \return A pointer to the text name for the frame type. If the frame type is not value, the string “???” is returned.
t30_free
Free a T.30 context. \brief Free a T.30 context. \param s The T.30 context. \return 0 for OK, else -1.
t30_front_end_status
Inform the T.30 engine of a status change in the front end (end of tx, rx signal change, etc.). \brief Inform the T.30 engine of a status change in the front end (end of tx, rx signal change, etc.). \param user_data The T.30 context. \param status The type of status change which occured.
t30_get_logging_state
Get a pointer to the logging context associated with a T.30 context. \brief Get a pointer to the logging context associated with a T.30 context. \param s The T.30 context. \return A pointer to the logging context, or NULL.
t30_get_rx_cia
Get the received CIA associated with a T.30 context. \brief Get the received CIA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return 0 for OK, else -1.
t30_get_rx_country
Get the country of origin of the remote FAX machine associated with a T.30 context. \brief Get the country of origin of the remote FAX machine associated with a T.30 context. \param s The T.30 context. \return a pointer to the country name, or NULL if the country is not known.
t30_get_rx_csa
Get the received CSA associated with a T.30 context. \brief Get the received CSA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return 0 for OK, else -1.
t30_get_rx_ident
Get the transmitted identifier associated with a T.30 context. \brief Set the transmitted identifier associated with a T.30 context. \param s The T.30 context. \return A pointer to the identifier.
t30_get_rx_ira
Get the received IRA associated with a T.30 context. \brief Get the received IRA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return The length of the address.
t30_get_rx_isp
Get the received ISP associated with a T.30 context. \brief Get the received ISP associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return 0 for OK, else -1.
t30_get_rx_model
Get the name of the model of the remote FAX machine associated with a T.30 context. \brief Get the name of the model of the remote FAX machine associated with a T.30 context. \param s The T.30 context. \return a pointer to the model name, or NULL if the model is not known.
t30_get_rx_nsc
Get an NSC frame to be associated with a T.30 context. \brief Set an NSC frame to be associated with a T.30 context. \param s The T.30 context. \param nsc A pointer to the frame. \return the length of the NSC message.
t30_get_rx_nsf
Get an NSF frame to be associated with a T.30 context. \brief Set an NSF frame to be associated with a T.30 context. \param s The T.30 context. \param nsf A pointer to the frame. \return the length of the NSF message.
t30_get_rx_nss
Get an NSS frame to be associated with a T.30 context. \brief Set an NSS frame to be associated with a T.30 context. \param s The T.30 context. \param nss A pointer to the frame. \return the length of the NSS message.
t30_get_rx_password
Get the received password (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received password associated with a T.30 context. \param s The T.30 context. \return A pointer to the password.
t30_get_rx_polled_sub_address
Get the received polled sub-address (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received polled sub-address associated with a T.30 context. \param s The T.30 context. \return A pointer to the polled sub-address.
t30_get_rx_selective_polling_address
Get the received selective polling address (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received selective polling address associated with a T.30 context. \param s The T.30 context. \return A pointer to the selective polling address.
t30_get_rx_sender_ident
Get the received sender ident (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received sender ident associated with a T.30 context. \param s The T.30 context. \return A pointer to the sender ident.
t30_get_rx_sub_address
Get the received sub-address associated with a T.30 context. \brief Get the received sub-address associated with a T.30 context. \param s The T.30 context. \return A pointer to the sub-address.
t30_get_rx_tsa
Get the received TSA associated with a T.30 context. \brief Get the received TSA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return The length of the address.
t30_get_rx_vendor
Get the name of the vendor of the remote FAX machine associated with a T.30 context. \brief Get the name of the vendor of the remote FAX machine associated with a T.30 context. \param s The T.30 context. \return a pointer to the vendor name, or NULL if the vendor is not known.
t30_get_transfer_statistics
Get the current transfer statistics for the file being sent or received. \brief Get the current transfer statistics. \param s The T.30 context. \param t A pointer to a buffer for the statistics.
t30_get_tx_cia
Get the transmitted CIA (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received CIA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return The length of the address.
t30_get_tx_csa
Get the transmitted CSA (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received CSA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return The length of the address.
t30_get_tx_ident
Get the transmitted identifier associated with a T.30 context. \brief Set the transmitted identifier associated with a T.30 context. \param s The T.30 context. \return A pointer to the identifier.
t30_get_tx_ira
Get the transmitted IRA (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received IRA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return The length of the address.
t30_get_tx_isp
Get the transmitted ISP (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received ISP associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return 0 for OK, else -1.
t30_get_tx_nsc
Get an NSC frame to be associated with a T.30 context. \brief Set an NSC frame to be associated with a T.30 context. \param s The T.30 context. \param nsc A pointer to the frame. \return the length of the NSC message.
t30_get_tx_nsf
Get an NSF frame to be associated with a T.30 context. \brief Set an NSF frame to be associated with a T.30 context. \param s The T.30 context. \param nsf A pointer to the frame. \return the length of the NSF message.
t30_get_tx_nss
Get an NSS frame to be associated with a T.30 context. \brief Set an NSS frame to be associated with a T.30 context. \param s The T.30 context. \param nss A pointer to the frame. \return the length of the NSS message.
t30_get_tx_page_header_info
Get the header information associated with a T.30 context. \brief Get the header information associated with a T.30 context. \param s The T.30 context. \param info A pointer to a buffer for the header information. The buffer should be at least 51 bytes long. \return the length of the string.
t30_get_tx_password
Get the received password (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received password associated with a T.30 context. \param s The T.30 context. \return A pointer to the password.
t30_get_tx_polled_sub_address
Get the received polled sub-address (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received polled sub-address associated with a T.30 context. \param s The T.30 context. \return A pointer to the polled sub-address.
t30_get_tx_selective_polling_address
Get the received selective polling address (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received selective polling address associated with a T.30 context. \param s The T.30 context. \return A pointer to the selective polling address.
t30_get_tx_sender_ident
Get the received sender ident (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received sender ident associated with a T.30 context. \param s The T.30 context. \return A pointer to the sender ident.
t30_get_tx_sub_address
Get the received sub-address associated with a T.30 context. \brief Get the received sub-address associated with a T.30 context. \param s The T.30 context. \return A pointer to the sub-address.
t30_get_tx_tsa
Get the transmitted TSA (i.e. the one we will send to the far end) associated with a T.30 context. \brief Get the received TSA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \return The length of the address.
t30_hdlc_accept
Process a received HDLC frame. \brief Process a received HDLC frame. \param user_data The T.30 context. \param msg The HDLC message. \param len The length of the message, in octets. \param ok True if the frame was received without error.
t30_init
Initialise a T.30 context. \brief Initialise a T.30 context. \param s The T.30 context. \param calling_party True if the context is for a calling party. False if the context is for an answering party. \param set_rx_type_handler \param set_rx_type_user_data \param set_tx_type_handler \param set_tx_type_user_data \param send_hdlc_handler \param send_hdlc_user_data \return A pointer to the context, or NULL if there was a problem.
t30_local_interrupt_request
Request a local interrupt of FAX exchange. \brief Request a local interrupt of FAX exchange. \param s The T.30 context. \param state True to enable interrupt request, else false.
t30_log_dis_dtc_dcs
Decode a DIS, DTC or DCS frame, and log the contents. \brief Decode a DIS, DTC or DCS frame, and log the contents. \param s The spandsp logging context. \param dis A pointer to the frame to be decoded. \param len The length of the frame.
t30_modem_to_str
Convert a T.30 modem type to a short text description. \brief Convert a T.30 modem type to a short text description. \param modem The modem code. \return A pointer to the description.
t30_non_ecm_get
Get a chunk of received non-ECM image data. \brief Get a bit of received non-ECM image data. \param user_data An opaque pointer, which must point to the T.30 context. \param buf The buffer to contain the data. \param max_len The maximum length of the chunk. \return The actual length of the chunk.
t30_non_ecm_get_bit
Get a bit of received non-ECM image data. \brief Get a bit of received non-ECM image data. \param user_data An opaque pointer, which must point to the T.30 context. \return The next bit to transmit.
t30_non_ecm_put
Process a chunk of received non-ECM image data. \brief Process a chunk of received non-ECM image data \param user_data An opaque pointer, which must point to the T.30 context. \param buf The buffer containing the received data. \param len The length of the data in buf.
t30_non_ecm_put_bit
Process a bit of received non-ECM image data. \brief Process a bit of received non-ECM image data \param user_data An opaque pointer, which must point to the T.30 context. \param bit The received bit.
t30_release
Release a T.30 context. \brief Release a T.30 context. \param s The T.30 context. \return 0 for OK, else -1.
t30_remote_interrupts_allowed
Allow remote interrupts of FAX exchange. \brief Allow remote interrupts of FAX exchange. \param s The T.30 context. \param state True to allow interruptd, else false.
t30_restart
Restart a T.30 context. \brief Restart a T.30 context. \param s The T.30 context. \param calling_party True if the context is for a calling party. False if the context is for an answering party. \return 0 for OK, else -1.
t30_set_document_get_handler
t30_set_document_handler
Set a callback function for T.30 end of document handling. \brief Set a callback function for T.30 end of document handling. \param s The T.30 context. \param handler The callback function. \param user_data An opaque pointer passed to the callback function.
t30_set_document_put_handler
t30_set_ecm_capability
Specify if error correction mode (ECM) is allowed by a T.30 context. \brief Select ECM capability. \param s The T.30 context. \param enabled True for ECM capable, or false for not ECM capable. \return 0 if OK, else -1.
t30_set_iaf_mode
Set Internet aware FAX (IAF) mode. \brief Set Internet aware FAX (IAF) mode. \param s The T.30 context. \param iaf Bitmap of values from enum t30_iaf_mode_e.
t30_set_keep_bad_quality_pages
Set the save bad quality pages handling associated with a T.30 context. \brief Set the save bad quality pages handling associated with a T.30 context. \param s The T.30 context. \param keep_bad_pages True to save bad quality pages.
t30_set_max_command_tries
Specify the maximum number of times a command will be tried by a T.30 context before giving up. \brief Select maximum command tries. \param s The T.30 context. \param tries The mmaximum number of tries. Default is 3
t30_set_max_response_tries
Specify the maximum number of times a response will be tried by a T.30 context before giving up. \brief Select maximum response tries. \param s The T.30 context. \param tries The mmaximum number of tries. Default is 6
t30_set_minimum_scan_line_time
Specify the minimum scan line time supported by a T.30 context. \brief Specify minimum scan line time. \param s The T.30 context. \param min_time The minimum permitted scan line time, in milliseconds. \return 0 if OK, else -1.
t30_set_phase_b_handler
Set a callback function for T.30 phase B handling. \brief Set a callback function for T.30 phase B handling. \param s The T.30 context. \param handler The callback function. \param user_data An opaque pointer passed to the callback function.
t30_set_phase_d_handler
Set a callback function for T.30 phase D handling. \brief Set a callback function for T.30 phase D handling. \param s The T.30 context. \param handler The callback function. \param user_data An opaque pointer passed to the callback function.
t30_set_phase_e_handler
Set a callback function for T.30 phase E handling. \brief Set a callback function for T.30 phase E handling. \param s The T.30 context. \param handler The callback function. \param user_data An opaque pointer passed to the callback function.
t30_set_real_time_frame_handler
Set a callback function for T.30 frame exchange monitoring. This is called from the heart of the signal processing, so don’t take too long in the handler routine. \brief Set a callback function for T.30 frame exchange monitoring. \param s The T.30 context. \param handler The callback function. \param user_data An opaque pointer passed to the callback function.
t30_set_receiver_not_ready
Specify a period of responding with receiver not ready. \brief Specify a period of responding with receiver not ready. \param s The T.30 context. \param count The number of times to report receiver not ready. \return 0 if OK, else -1.
t30_set_retransmit_capable
Specify if page retransmission is allowed by a T.30 context. \brief Select page retransmission capable. \param s The T.30 context. \param enabled True for retransmit capable, or false for not retransmit capable.
t30_set_rx_file
Specify the file name of the next TIFF file to be received by a T.30 context. \brief Set next receive file name. \param s The T.30 context. \param file The file name \param stop_page The maximum page to receive. -1 for no restriction.
t30_set_status
Set T.30 status. This may be used to adjust the status from within the phase B and phase D callbacks. \brief Set T.30 status. \param s The T.30 context. \param status The new status.
t30_set_supported_bilevel_resolutions
Specify which bi-level resolutions are supported by a T.30 context. \brief Specify supported bi-level resolutions. \param s The T.30 context. \param supported_resolutions Bit field list of the supported resolutions. \return 0 if OK, else -1.
t30_set_supported_colour_resolutions
Specify which colour resolutions are supported by a T.30 context. \brief Specify supported colour resolutions. \param s The T.30 context. \param supported_resolutions Bit field list of the supported resolutions. \return 0 if OK, else -1.
t30_set_supported_compressions
Specify which compression types are supported by a T.30 context. \brief Specify supported compression types. \param s The T.30 context. \param supported_compressions Bit field list of the supported compression types. \return 0 if OK, else -1.
t30_set_supported_image_sizes
Specify which images sizes are supported by a T.30 context. \brief Specify supported image sizes. \param s The T.30 context. \param supported_image_sizes Bit field list of the supported widths and lengths. \return 0 if OK, else -1.
t30_set_supported_modems
Specify which modem types are supported by a T.30 context. \brief Specify supported modems. \param s The T.30 context. \param supported_modems Bit field list of the supported modems. \return 0 if OK, else -1.
t30_set_supported_output_compressions
Specify the output encoding for TIFF files created during FAX reception. \brief Specify the output encoding for TIFF files created during FAX reception. \param s The T.30 context. \param supported_compressions Bit field list of the supported compression types, for output of received page images. \return 0 if OK, else -1.
t30_set_supported_t30_features
Specify which special T.30 features are supported by a T.30 context. \brief Specify supported T.30 features. \param s The T.30 context. \param supported_t30_features Bit field list of the supported features. \return 0 if OK, else -1.
t30_set_tx_cia
Set the transmitted CIA (i.e. the one we will send to the far end) associated with a T.30 context. \brief Set the transmitted CIA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \param len The length of the address. \return 0 for OK, else -1.
t30_set_tx_csa
Set the transmitted CSA (i.e. the one we will send to the far end) associated with a T.30 context. \brief Set the transmitted CSA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \param len The length of the address. \return 0 for OK, else -1.
t30_set_tx_file
Specify the file name of the next TIFF file to be transmitted by a T.30 context. \brief Set next transmit file name. \param s The T.30 context. \param file The file name \param start_page The first page to send. -1 for no restriction. \param stop_page The last page to send. -1 for no restriction.
t30_set_tx_ident
Set the transmitted identifier associated with a T.30 context. \brief Set the transmitted identifier associated with a T.30 context. \param s The T.30 context. \param id A pointer to the identifier. \return 0 for OK, else -1.
t30_set_tx_ira
Set the transmitted IRA (i.e. the one we will send to the far end) associated with a T.30 context. \brief Set the transmitted IRA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \param len The length of the address. \return 0 for OK, else -1.
t30_set_tx_isp
Set the transmitted ISP (i.e. the one we will send to the far end) associated with a T.30 context. \brief Set the transmitted ISP associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \param len The length of the address. \return 0 for OK, else -1.
t30_set_tx_nsc
Set the transmitted NSC frame to be associated with a T.30 context. \brief Set the transmitted NSC frame to be associated with a T.30 context. \param s The T.30 context. \param nsc A pointer to the frame. \param len The length of the frame. \return 0 for OK, else -1.
t30_set_tx_nsf
Set the transmitted NSF frame to be associated with a T.30 context. \brief Set the transmitted NSF frame to be associated with a T.30 context. \param s The T.30 context. \param nsf A pointer to the frame. \param len The length of the frame. \return 0 for OK, else -1.
t30_set_tx_nss
Set the transmitted NSS frame to be associated with a T.30 context. \brief Set the transmitted NSS frame to be associated with a T.30 context. \param s The T.30 context. \param nss A pointer to the frame. \param len The length of the frame. \return 0 for OK, else -1.
t30_set_tx_page_header_info
Set the transmitted header information associated with a T.30 context. \brief Set the transmitted header information associated with a T.30 context. \param s The T.30 context. \param info A pointer to the information string. \return 0 for OK, else -1.
t30_set_tx_page_header_overlays_image
Set page header extends or overlays the image mode. \brief Set page header overlay mode. \param s The T.30 context. \param header_overlays_image True for overlay, or false for extend the page.
t30_set_tx_page_header_tz
Set the transmitted header timestamp timezone associated with a T.30 context. \brief Set the transmitted header timestamp timezone associated with a T.30 context. \param s The T.30 context. \param info A pointer to the POSIZ timezone string. \return 0 for OK, else -1.
t30_set_tx_password
Set the transmitted password (i.e. the one we will send to the far end) associated with a T.30 context. \brief Set the transmitted password associated with a T.30 context. \param s The T.30 context. \param password A pointer to the password. \return 0 for OK, else -1.
t30_set_tx_polled_sub_address
Set the transmitted polled sub-address (i.e. the one we will send to the far end) associated with a T.30 context. \brief Set the transmitted polled sub-address associated with a T.30 context. \param s The T.30 context. \param polled_sub_address A pointer to the polled sub-address. \return 0 for OK, else -1.
t30_set_tx_selective_polling_address
Set the transmitted selective polling address (i.e. the one we will send to the far end) associated with a T.30 context. \brief Set the transmitted selective polling address associated with a T.30 context. \param s The T.30 context. \param selective_polling_address A pointer to the selective polling address. \return 0 for OK, else -1.
t30_set_tx_sender_ident
Set the transmitted sender ident (i.e. the one we will send to the far end) associated with a T.30 context. \brief Set the transmitted sender ident associated with a T.30 context. \param s The T.30 context. \param sender_ident A pointer to the sender ident. \return 0 for OK, else -1.
t30_set_tx_sub_address
Set the transmitted sub-address associated with a T.30 context. \brief Set the transmitted sub-address associated with a T.30 context. \param s The T.30 context. \param sub_address A pointer to the sub-address. \return 0 for OK, else -1.
t30_set_tx_tsa
Set the transmitted TSA (i.e. the one we will send to the far end) associated with a T.30 context. \brief Set the transmitted TSA associated with a T.30 context. \param s The T.30 context. \param type The type of address. \param address A pointer to the address. \param len The length of the address. \return 0 for OK, else -1.
t30_terminate
Cleanup a T.30 context if the call terminates. \brief Cleanup a T.30 context if the call terminates. \param s The T.30 context.
t30_timer_update
Report the passage of time to the T.30 engine. \brief Report the passage of time to the T.30 engine. \param s The T.30 context. \param samples The time change in 1/8000th second steps.
t31_at_rx
t31_at_rx_free_space
Return the amount of free space in the AT COMMAND BUFFER. \brief Return the amount of free space in the AT COMMAND BUFFER. \param s The T.31 modem context. \return The number of bytes of free space.
t31_call_event
t31_free
Free a T.31 context. \brief Release a T.31 context. \param s The T.31 context. \return 0 for OK
t31_get_at_state
Get a pointer to the AT interpreter context associated with a T.31 context. \brief Get a pointer to the AT interpreter context associated with a T.31 context. \param s The T.31 context. \return A pointer to the AT interpreter context, or NULL.
t31_get_logging_state
Get a pointer to the logging context associated with a T.31 context. \brief Get a pointer to the logging context associated with a T.31 context. \param s The T.31 context. \return A pointer to the logging context, or NULL.
t31_get_t38_core_state
Get a pointer to the T.38 core context associated with a T.31 context. \brief Get a pointer to the T.38 core context associated with a T.31 context. \param s The T.31 context. \return A pointer to the T.38 core context, or NULL.
t31_init
Initialise a T.31 context. This must be called before the first use of the context, to initialise its contents. \brief Initialise a T.31 context. \param s The T.31 context. \param at_tx_handler A callback routine to handle AT interpreter channel output. \param at_tx_user_data An opaque pointer passed in called to at_tx_handler. \param modem_control_handler A callback routine to handle control of the modem (off-hook, etc). \param modem_control_user_data An opaque pointer passed in called to modem_control_handler. \param tx_t38_packet_handler ??? \param tx_t38_packet_user_data ??? \return A pointer to the T.31 context.
t31_release
Release a T.31 context. \brief Release a T.31 context. \param s The T.31 context. \return 0 for OK
t31_rx
Process a block of received T.31 modem audio samples. \brief Process a block of received T.31 modem audio samples. \param s The T.31 modem context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed.
t31_rx_fillin
Fake processing of a missing block of received T.31 modem audio samples (e.g due to packet loss). \brief Fake processing of a missing block of received T.31 modem audio samples. \param s The T.31 modem context. \param len The number of samples to fake. \return The number of samples unprocessed.
t31_set_mode
Set audio or T.38 mode. \brief Set audio or T.38 mode. \param s The T.31 modem context. \param t38_mode True for T.38 mode operation. False for audio mode operation.
t31_set_t38_config
Select whether T.38 data will be paced as it is transmitted. \brief Select whether T.38 data will be paced. \param s The T.31 modem context. \param without_pacing True if data is to be sent as fast as possible. False if it is to be paced.
t31_set_tep_mode
Select whether TEP mode will be used (or time allowed for it (when transmitting). \brief Select whether TEP mode will be used. \param s The T.31 modem context. \param use_tep True if TEP is to be used.
t31_set_transmit_on_idle
Select whether silent audio will be sent when transmit is idle. \brief Select whether silent audio will be sent when transmit is idle. \param s The T.31 modem context. \param transmit_on_idle True if silent audio should be output when the transmitter is idle. False to transmit zero length audio when the transmitter is idle. The default behaviour is false.
t31_t38_send_timeout
t31_tx
Generate a block of T.31 modem audio samples. \brief Generate a block of T.31 modem audio samples. \param s The T.31 modem context. \param amp The audio sample buffer. \param max_len The number of samples to be generated. \return The number of samples actually generated.
t35_country_code_to_str
Decode a T.35 country code to a country name. \brief Decode a T.35 country code to a country name. \param country_code The country code. \param country_code_extension The country code extension. \return The country name, or NULL for an invalid country code.
t35_decode
Decode an NSF field to try to determine the make and model of the remote machine. \brief Decode an NSF field. \param msg The NSF message. \param len The length of the NSF message. \param country A pointer which will be pointed to the identified country of origin. If a NULL pointer is given, the country of origin will not be returned. If the country of origin is not identified, NULL will be returned. \param vendor A pointer which will be pointed to the identified vendor. If a NULL pointer is given, the vendor ID will not be returned. If the vendor is not identified, NULL will be returned. \param model A pointer which will be pointed to the identified model. If a NULL pointer is given, the model will not be returned. If the model is not identified, NULL will be returned. \return True if the machine was identified.
t35_real_country_code
Resolve a T.35 country code its probable likely real value, using heuristics to try to resolve issues of broken bit order in the country code. \brief Resolve a T.35 country code with bit reversal resolution. \param country_code The country code. \param country_code_extension The country code extension. \return The true country code, or -1 for an invalid code.
t35_real_country_code_to_str
Decode a T.35 country code to a country name, using heuristics to try to resolve issues of broken bit order in the country code. \brief Decode a T.35 country code to a country name, with bit reversal resolution. \param country_code The country code. \param country_code_extension The country code extension. \return The country name, or NULL for an invalid country code.
t35_vendor_to_str
t38_cm_profile_to_str
\brief Convert the code for a CM profile code to text description. \param profile The profile code from a CM message. \return A pointer to a short text description of the profile.
t38_core_free
Free a signaling tone transmitter context. \brief Free a signaling tone transmitter context. \param s The T.38 context. \return 0 for OK
t38_core_get_logging_state
Get a pointer to the logging context associated with a T.38 context. \brief Get a pointer to the logging context associated with a T.38 context. \param s The T.38 context. \return A pointer to the logging context, or NULL.
t38_core_init
Initialise a T.38 core context. \brief Initialise a T.38 core context. \param s The T.38 context. \param rx_indicator_handler Receive indicator handling routine. \param rx_data_handler Receive data packet handling routine. \param rx_rx_missing_handler Missing receive packet handling routine. \param rx_packet_user_data An opaque pointer passed to the rx packet handling routines. \param tx_packet_handler Packet transmit handling routine. \param tx_packet_user_data An opaque pointer passed to the tx_packet_handler. \return A pointer to the T.38 context, or NULL if there was a problem.
t38_core_release
Release a signaling tone transmitter context. \brief Release a signaling tone transmitter context. \param s The T.38 context. \return 0 for OK
t38_core_restart
Restart a T.38 core context. \brief Restart a T.38 core context. \param s The T.38 context. \return 0 for OK, else -1.
t38_core_rx_ifp_packet
\brief Process a received T.38 IFP packet from an unreliable packet stream (e.g. UDPTL or RTP). This processing includes packet sequence number checking, missing packet recovery, and skipping repeat packets. \param s The T.38 context. \param buf The packet contents. \param len The length of the packet contents. \param seq_no The packet sequence number. \return 0 for OK, else -1.
t38_core_rx_ifp_stream
\brief Process a received T.38 IFP packet from a reliable stream (e.g. TCP). \param s The T.38 context. \param buf The packet contents. \param len The length of the packet contents. \param seq_no The packet sequence number, used for logging purposes. \return The length of the packet processed, or -1 if there is an error in the packet, or too few bytes of data to complete it.
t38_core_send_data
\brief Send a data packet \param s The T.38 context. \param data_type The packet’s data type. \param field_type The packet’s field type. \param field The message data content for the packet. \param field_len The length of the message data, in bytes. \param category The category of the packet being sent. This should be one of the values defined for t38_packet_categories_e. \return 0 for OK, else -1
t38_core_send_data_multi_field
\brief Send a data packet \param s The T.38 context. \param data_type The packet’s data type. \param field The list of fields. \param fields The number of fields in the list. \param category The category of the packet being sent. This should be one of the values defined for t38_packet_categories_e. \return 0 for OK, else -1
t38_core_send_flags_delay
\brief Find the delay to allow for HDLC flags after sending an indicator \param s The T.38 context. \param indicator The indicator to check. \return The delay to allow for initial HDLC flags after this indicator is sent.
t38_core_send_indicator
\brief Send an indicator packet \param s The T.38 context. \param indicator The indicator to send. \return The delay to allow after this indicator is sent.
t38_core_send_training_delay
\brief Find the delay to allow for modem training after sending an indicator \param s The T.38 context. \param indicator The indicator to check. \return The delay to allow for modem training after this indicator is sent.
t38_data_type_to_str
\brief Convert the code for a type of data to a short text name. \param data_type The data type. \return A pointer to a short text name for the data type.
t38_field_type_to_str
\brief Convert the code for a type of data field to a short text name. \param field_type The field type. \return A pointer to a short text name for the field type.
t38_gateway_free
Free a gateway mode T.38 context. \brief Free a T.38 context. \param s The T.38 context. \return 0 for OK, else -1.
t38_gateway_get_logging_state
Get a pointer to the logging context associated with a T.38 context. \brief Get a pointer to the logging context associated with a T.38 context. \param s The T.38 context. \return A pointer to the logging context, or NULL.
t38_gateway_get_t38_core_state
Get a pointer to the T.38 core IFP packet engine associated with a gateway mode T.38 context. \brief Get a pointer to the T.38 core IFP packet engine associated with a T.38 context. \param s The T.38 context. \return A pointer to the T.38 core context, or NULL.
t38_gateway_get_transfer_statistics
Get the current transfer statistics for the current T.38 session. \brief Get the current transfer statistics. \param s The T.38 context. \param t A pointer to a buffer for the statistics.
t38_gateway_init
\brief Initialise a gateway mode T.38 context. \param s The T.38 context. \param tx_packet_handler A callback routine to encapsulate and transmit T.38 packets. \param tx_packet_user_data An opaque pointer passed to the tx_packet_handler routine. \return A pointer to the termination mode T.38 context, or NULL if there was a problem.
t38_gateway_release
Release a gateway mode T.38 context. \brief Release a T.38 context. \param s The T.38 context. \return 0 for OK, else -1.
t38_gateway_rx
Process a block of received FAX audio samples. \brief Process a block of received FAX audio samples. \param s The T.38 context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed.
t38_gateway_rx_fillin
Apply fake processing when a block of audio samples is missing (e.g due to packet loss). \brief Apply fake received audio processing. \param s The T.38 context. \param len The number of samples to fake. \return The number of samples unprocessed. This should only be non-zero if the software has reached the end of the FAX call.
t38_gateway_set_ecm_capability
Control whether error correcting mode (ECM) is allowed. \brief Control whether error correcting mode (ECM) is allowed. \param s The T.38 context. \param ecm_allowed True is ECM is to be allowed.
t38_gateway_set_fill_bit_removal
Select whether non-ECM fill bits are to be removed during transmission. \brief Select whether non-ECM fill bits are to be removed during transmission. \param s The T.38 context. \param remove True if fill bits are to be removed.
t38_gateway_set_nsx_suppression
Select whether NSC, NSF, and NSS should be suppressed. It selected, the contents of these messages are forced to zero for all octets beyond the message type. This makes them look like manufacturer specific messages, from a manufacturer which does not exist. \brief Select whether NSC, NSF, and NSS should be suppressed. \param s The T.38 context. \param from_t38 A string of bytes to overwrite the header of any NSC, NSF, and NSS frames passing through the gateway from T.38 the the modem. \param from_t38_len The length of the overwrite string. \param from_modem A string of bytes to overwrite the header of any NSC, NSF, and NSS frames passing through the gateway from the modem to T.38. \param from_modem_len The length of the overwrite string.
t38_gateway_set_real_time_frame_handler
Set a callback function for T.30 frame exchange monitoring. This is called from the heart of the signal processing, so don’t take too long in the handler routine. \brief Set a callback function for T.30 frame exchange monitoring. \param s The T.30 context. \param handler The callback function. \param user_data An opaque pointer passed to the callback function.
t38_gateway_set_supported_modems
Specify which modem types are supported by a T.30 context. \brief Specify supported modems. \param s The T.38 context. \param supported_modems Bit field list of the supported modems.
t38_gateway_set_tep_mode
Select whether talker echo protection tone will be sent for the image modems. \brief Select whether TEP will be sent for the image modems. \param s The T.38 context. \param use_tep True if TEP should be sent.
t38_gateway_set_transmit_on_idle
Select whether silent audio will be sent when transmit is idle. \brief Select whether silent audio will be sent when transmit is idle. \param s The T.38 context. \param transmit_on_idle True if silent audio should be output when the FAX transmitter is idle. False to transmit zero length audio when the FAX transmitter is idle. The default behaviour is false.
t38_gateway_tx
Generate a block of FAX audio samples. \brief Generate a block of FAX audio samples. \param s The T.38 context. \param amp The audio sample buffer. \param max_len The number of samples to be generated. \return The number of samples actually generated.
t38_get_fastest_image_data_rate
t38_get_tx_packet_interval
Get the time between packet transmissions. \param s The T.38 context.
t38_indicator_to_str
\brief Convert the code for an indicator to a short text name. \param indicator The type of indicator. \return A pointer to a short text name for the indicator.
t38_jm_to_str
\brief Convert a JM message code to text description. \param data The data field of the message. \param len The length of the data field. \return A pointer to a short text description of the profile.
t38_non_ecm_buffer_free
t38_non_ecm_buffer_get_bit
\brief Get the next bit of data from a T.38 rate adapting non-ECM buffer context. \param user_data The buffer context, cast to a void pointer. \return The next bit, or one of the values indicating a change of modem status.
t38_non_ecm_buffer_init
\brief Initialise a T.38 rate adapting non-ECM buffer context. \param s The buffer context. \param image_mode True for image data mode, or false for TCF mode. \param bits The minimum number of bits per FAX image row. \return A pointer to the buffer context, or NULL if there was a problem.
t38_non_ecm_buffer_inject
\brief Inject data to T.38 rate adapting non-ECM buffer context. \param s The buffer context. \param buf The data buffer to be injected. \param len The length of the data to be injected.
t38_non_ecm_buffer_push
\brief Inform a T.38 rate adapting non-ECM buffer context that the incoming data has finished, and the contents of the buffer should be played out as quickly as possible. \param s The buffer context.
t38_non_ecm_buffer_release
t38_non_ecm_buffer_report_input_status
\brief Report the input status of a T.38 rate adapting non-ECM buffer context to the specified logging context. \param s The buffer context. \param logging The logging context.
t38_non_ecm_buffer_report_output_status
\brief Report the output status of a T.38 rate adapting non-ECM buffer context to the specified logging context. \param s The buffer context. \param logging The logging context.
t38_non_ecm_buffer_set_mode
\brief Set the mode of a T.38 rate adapting non-ECM buffer context. \param s The buffer context. \param mode True for image data mode, or false for TCF mode. \param bits The minimum number of bits per FAX image row.
t38_set_data_rate_management_method
Set the method to be used for data rate management, as per the T.38 spec. \param s The T.38 context. \param method 1 for pass TCF across the T.38 link, 2 for handle TCF locally.
t38_set_data_transport_protocol
Set the data transport protocol. \param s The T.38 context. \param data_transport_protocol UDPTL, RTP or TPKT.
t38_set_fastest_image_data_rate
t38_set_fill_bit_removal
Set the non-ECM fill bit removal mode. \param s The T.38 context. \param fill_bit_removal True to remove fill bits across the T.38 link.
t38_set_jbig_transcoding
Set the JBIG transcoding mode. \param s The T.38 context. \param jbig_transcoding True to transcode to JBIG across the T.38 link.
t38_set_max_buffer_size
Set the maximum buffer size for received data at the far end. \param s The T.38 context. \param max_buffer_size The maximum buffer size.
t38_set_max_datagram_size
Set the maximum size of an IFP packet that is acceptable by the far end. \param s The T.38 context. \param max_datagram_size The maximum IFP packet length, in bytes.
t38_set_mmr_transcoding
Set the MMR transcoding mode. \param s The T.38 context. \param mmr_transcoding True to transcode to MMR across the T.38 link.
t38_set_pace_transmission
t38_set_redundancy_control
\brief Send a data packet \param s The T.38 context. \param category The category of the packet being sent. This should be one of the values defined for t38_packet_categories_e. \param setting The repeat count for the category. This should be at least one for all categories other an indicator packets. Zero is valid for indicator packets, as it suppresses the sending of indicator packets, as an application using TCP for the transport would require. As the setting is passed through to the transmission channel, additional information may be encoded in it, such as the redundancy depth for the particular packet category.
t38_set_sequence_number_handling
Set the sequence number handling option. \param s The T.38 context. \param check True to check sequence numbers, and handle gaps reasonably. False for no sequence number processing (e.g. for TPKT over TCP transport).
t38_set_t38_version
Set the T.38 version to be emulated. \param s The T.38 context. \param t38_version Version number, as in the T.38 spec.
t38_set_tep_handling
Set the TEP handling option. \param s The T.38 context. \param allow_for_tep True to allow for TEP playout.
t38_set_tx_packet_interval
Set the time between packet transmissions. \param s The T.38 context. \param microseconds The time between packets in microseconds.
t38_terminal_free
Free a a termination mode T.38 context. \brief Free a T.38 context. \param s The T.38 context. \return 0 for OK, else -1.
t38_terminal_get_logging_state
Get a pointer to the logging context associated with a T.38 context. \brief Get a pointer to the logging context associated with a T.38 context. \param s The T.38 context. \return A pointer to the logging context, or NULL.
t38_terminal_get_t30_state
Get a pointer to the T.30 engine associated with a termination mode T.38 context. \brief Get a pointer to the T.30 engine associated with a T.38 context. \param s The T.38 context. \return A pointer to the T.30 context, or NULL.
t38_terminal_get_t38_core_state
Get a pointer to the T.38 core IFP packet engine associated with a termination mode T.38 context. \brief Get a pointer to the T.38 core IFP packet engine associated with a T.38 context. \param s The T.38 context. \return A pointer to the T.38 core context, or NULL.
t38_terminal_init
\brief Initialise a termination mode T.38 context. \param s The T.38 context. \param calling_party True if the context is for a calling party. False if the context is for an answering party. \param tx_packet_handler A callback routine to encapsulate and transmit T.38 packets. \param tx_packet_user_data An opaque pointer passed to the tx_packet_handler routine. \return A pointer to the termination mode T.38 context, or NULL if there was a problem.
t38_terminal_release
Release a termination mode T.38 context. \brief Release a T.38 context. \param s The T.38 context. \return 0 for OK, else -1.
t38_terminal_restart
\brief Reinitialise a termination mode T.38 context. \param s The T.38 context. \param calling_party True if the context is for a calling party. False if the context is for an answering party. \return 0 for OK, else -1.
t38_terminal_send_timeout
t38_terminal_set_config
Set configuration options. \brief Set configuration options. \param s The T.38 context. \param config A combinations of T38_TERMINAL_OPTION_* bits.
t38_terminal_set_fill_bit_removal
Select whether non-ECM fill bits are to be removed during transmission. \brief Select whether non-ECM fill bits are to be removed during transmission. \param s The T.38 context. \param remove True if fill bits are to be removed.
t38_terminal_set_tep_mode
Select whether the time for talker echo protection tone will be allowed for when sending. \brief Select whether TEP time will be allowed for. \param s The T.38 context. \param use_tep True if TEP should be allowed for.
t38_v34rate_to_bps
\brief Convert a V34rate message to an actual bit rate. \param data The data field of the message. \param len The length of the data field. \return The bit rate, or -1 for a bad message.
t42_analyse_header
t42_decode_free
\brief Free a T.42 decode context. \param s The T.42 decode context. \return 0 for OK, else -1.
t42_decode_get_compressed_image_size
\brief Get the size of the compressed image in bits. \param s The T.42 context. \return The size of the image, in bits.
t42_decode_get_image_length
\brief Get the length of the image. \param s The T.42 context. \return The length of the image, in pixels.
t42_decode_get_image_width
\brief Get the width of the image. \param s The T.42 context. \return The width of the image, in pixels.
t42_decode_get_logging_state
Get the logging context associated with a T.42 decode context. \brief Get the logging context associated with a T.42 decode context. \param s The T.42 decode context. \return A pointer to the logging context
t42_decode_init
\brief Prepare to decode an image in T.42 format. \param s The T.42 context. \param handler A callback routine to handle decoded image rows. \param user_data An opaque pointer passed to handler. \return A pointer to the context, or NULL if there was a problem.
t42_decode_put
\brief Decode a chunk of T.42 data. \param s The T.42 context. \param data The data to be decoded. \param len The length of the data to be decoded. \return 0 for OK.
t42_decode_release
\brief Release a T.42 decode context. \param s The T.42 decode context. \return 0 for OK, else -1.
t42_decode_restart
\brief Restart a T.42 decode context. \param s The T.42 context.
t42_decode_rx_status
t42_decode_set_comment_handler
\brief Set the comment handler routine. \param s The T.42 context. \param max_comment_len The maximum length of comment to be passed to the handler. \param handler A callback routine to handle decoded comment. \param user_data An opaque pointer passed to handler. \return 0 for OK.
t42_decode_set_image_size_constraints
A maliciously constructed T.42 image could consume too much memory, and constitute a denial of service attack on the system. This function allows constraints to be applied. \brief Set constraints on the received image size. \param s The T.42 context. \param max_xd The maximum permitted width of the full image, in pixels \param max_yd The maximum permitted height of the full image, in pixels \return 0 for OK
t42_decode_set_row_write_handler
\brief Set the row handler routine. \param s The T.42 context. \param handler A callback routine to handle decoded image rows. \param user_data An opaque pointer passed to handler. \return 0 for OK.
t42_encode_abort
t42_encode_comment
t42_encode_free
\brief Free a T.42 encode context. \param s The T.42 encode context. \return 0 for OK, else -1.
t42_encode_get
t42_encode_get_compressed_image_size
\brief Get the size of the compressed image in bits. \param s The T.42 context. \return The size of the image, in bits.
t42_encode_get_image_length
t42_encode_get_image_width
t42_encode_get_logging_state
Get the logging context associated with a T.42 encode context. \brief Get the logging context associated with a T.42 encode context. \param s The T.42 encode context. \return A pointer to the logging context
t42_encode_image_complete
\brief Check if we are at the end of the current document page. \param s The T.42 context. \return 0 for more data to come. SIG_STATUS_END_OF_DATA for no more data.
t42_encode_init
\brief Prepare to encode an image in T.42 format. \param s The T.42 context. \param image_width Image width, in pixels. \param image_length Image length, in pixels. \param handler A callback routine to handle encoded image rows. \param user_data An opaque pointer passed to handler. \return A pointer to the context, or NULL if there was a problem.
t42_encode_release
\brief Release a T.42 encode context. \param s The T.42 encode context. \return 0 for OK, else -1.
t42_encode_restart
\brief Restart a T.42 encode context. \param s The T.42 context. \param image image_width The image width, in pixels. \param image image_width The image length, in pixels. \return 0 for success, otherwise -1.
t42_encode_set_image_length
t42_encode_set_image_type
t42_encode_set_image_width
t42_encode_set_options
t42_encode_set_row_read_handler
t43_decode_free
\brief Free a T.43 decode context. \param s The T.43 decode context. \return 0 for OK, else -1.
t43_decode_get_compressed_image_size
t43_decode_get_image_length
\brief Get the length of the image. \param s The T.43 context. \return The length of the image, in pixels.
t43_decode_get_image_width
\brief Get the width of the image. \param s The T.43 context. \return The width of the image, in pixels.
t43_decode_get_logging_state
Get the logging context associated with a T.43 decode context. \brief Get the logging context associated with a T.43 decode context. \param s The T.43 decode context. \return A pointer to the logging context
t43_decode_init
\brief Prepare to decode an image in T.43 format. \param s The T.43 context. \param handler A callback routine to handle decoded image rows. \param user_data An opaque pointer passed to handler. \return A pointer to the context, or NULL if there was a problem.
t43_decode_put
\brief Decode a chunk of T.43 data. \param s The T.43 context. \param data The data to be decoded. \param len The length of the data to be decoded. \return 0 for OK.
t43_decode_release
\brief Release a T.43 decode context. \param s The T.43 decode context. \return 0 for OK, else -1.
t43_decode_restart
t43_decode_rx_status
t43_decode_set_comment_handler
\brief Set the comment handler routine. \param s The T.43 context. \param max_comment_len The maximum length of comment to be passed to the handler. \param handler A callback routine to handle decoded comment. \param user_data An opaque pointer passed to handler. \return 0 for OK.
t43_decode_set_image_size_constraints
t43_decode_set_row_write_handler
\brief Set the row handler routine. \param s The T.43 context. \param handler A callback routine to handle decoded image rows. \param user_data An opaque pointer passed to handler. \return 0 for OK.
t43_encode_abort
t43_encode_comment
t43_encode_free
\brief Free a T.43 encode context. \param s The T.43 encode context. \return 0 for OK, else -1.
t43_encode_get
t43_encode_get_compressed_image_size
t43_encode_get_image_length
t43_encode_get_image_width
t43_encode_get_logging_state
Get the logging context associated with a T.43 encode context. \brief Get the logging context associated with a T.43 encode context. \param s The T.43 encode context. \return A pointer to the logging context
t43_encode_image_complete
\brief Check if we are at the end of the current document page. \param s The T.43 context. \return 0 for more data to come. SIG_STATUS_END_OF_DATA for no more data.
t43_encode_init
\brief Prepare to encode an image in T.43 format. \param s The T.43 context. \param image_width Image width, in pixels. \param image_length Image length, in pixels. \param handler A callback routine to handle encoded image rows. \param user_data An opaque pointer passed to handler. \return A pointer to the context, or NULL if there was a problem.
t43_encode_release
\brief Release a T.43 encode context. \param s The T.43 encode context. \return 0 for OK, else -1.
t43_encode_restart
\brief Restart a T.43 encode context. \param s The T.43 context. \param image image_width The image width, in pixels. \param image image_width The image length, in pixels. \return 0 for success, otherwise -1.
t43_encode_set_image_length
t43_encode_set_image_type
t43_encode_set_image_width
t43_encode_set_options
t43_encode_set_row_read_handler
t43_image_type_to_str
t81_t82_arith_decode
t81_t82_arith_decode_free
t81_t82_arith_decode_init
t81_t82_arith_decode_release
t81_t82_arith_decode_restart
t81_t82_arith_encode
t81_t82_arith_encode_flush
t81_t82_arith_encode_free
t81_t82_arith_encode_init
t81_t82_arith_encode_release
t81_t82_arith_encode_restart
t85_analyse_header
t85_decode_free
\brief Free a T.85 decode context. \param s The T.85 decode context. \return 0 for OK, else -1.
t85_decode_get_compressed_image_size
\brief Get the size of the compressed image, in bits. \param s The T.85 context. \return The size of the compressed image, in bits.
t85_decode_get_image_length
\brief Get the length of the image. \param s The T.85 context. \return The length of the image, in pixels.
t85_decode_get_image_width
\brief Get the width of the image. \param s The T.85 context. \return The width of the image, in pixels.
t85_decode_get_logging_state
Get the logging context associated with a T.85 decode context. \brief Get the logging context associated with a T.85 decode context. \param s The T.85 decode context. \return A pointer to the logging context
t85_decode_init
\brief Prepare to decode an image in T.85 format. \param s The T.85 context. \param handler A callback routine to handle decoded image rows. \param user_data An opaque pointer passed to handler. \return A pointer to the context, or NULL if there was a problem.
t85_decode_new_plane
t85_decode_put
\brief Decode a chunk of T.85 data. \param s The T.85 context. \param data The data to be decoded. \param len The length of the data to be decoded. \return 0 for OK.
t85_decode_release
\brief Release a T.85 decode context. \param s The T.85 decode context. \return 0 for OK, else -1.
t85_decode_restart
t85_decode_rx_status
After the final BIE byte has been delivered to t85_decode_put_xx(), it may still return T85_MORE_DATA when the T85_VLENGTH option was used, and no NEWLEN marker section has appeared yet. This is because such a BIE is not self-terminating (i.e. there could still be a NEWLEN followed by an SDNORM or SDRST at the very end of the final stripe, which needs to be processed before the final row is output. See ITU-T Recommendation T.85, Appendix I). Therefore, after the last byte has been delivered, call this routine to signal the end of the BIE. This is necessary to allow the routine to finish processing BIEs with option T85_VLENGTH that do not actually contain any NEWLEN marker section. \brief Inform the T.85 decode engine of a status change in the signal source (end of tx, rx signal change, etc.). \param s The T.85 context. \param status The type of status change which occured.
t85_decode_set_comment_handler
\brief Set the comment handler routine. \param s The T.85 context. \param max_comment_len The maximum length of comment to be passed to the handler. \param handler A callback routine to handle decoded comment. \param user_data An opaque pointer passed to handler. \return 0 for OK.
t85_decode_set_image_size_constraints
A maliciously constructed T.85 image could consume too much memory, and constitute a denial of service attack on the system. This function allows constraints to be applied. \brief Set constraints on the received image size. \param s The T.85 context. \param max_xd The maximum permitted width of the full image, in pixels \param max_yd The maximum permitted height of the full image, in pixels \return 0 for OK
t85_decode_set_row_write_handler
\brief Set the row handler routine. \param s The T.85 context. \param handler A callback routine to handle decoded image rows. \param user_data An opaque pointer passed to handler. \return 0 for OK.
t85_encode_abort
\brief Stop image encoding prematurely. \param s The T.85 context.
t85_encode_comment
\brief Insert a comment in the encoded file. \param s The T.85 context. \param comment The comment. Note that this is not a C string, and may contain any bytes. \param len The length of the comment.
t85_encode_free
\brief Free a T.85 encode context. \param s The T.85 encode context. \return 0 for OK, else -1.
t85_encode_get
\brief Get the next chunk of the current document page. The document will be padded for the current minimum scan line time. \param s The T.85 context. \param buf The buffer into which the chunk is to written. \param max_len The maximum length of the chunk. \return The actual length of the chunk. If this is less than max_len it indicates that the end of the document has been reached.
t85_encode_get_compressed_image_size
\brief Get the size of the compressed image, in bits. \param s The T.85 context. \return The size of the compressed image, in bits.
t85_encode_get_image_length
\brief Get the length of the image. \param s The T.85 context. \return The length of the image, in pixels.
t85_encode_get_image_width
\brief Get the width of the image. \param s The T.85 context. \return The width of the image, in pixels.
t85_encode_get_logging_state
Get the logging context associated with a T.85 encode context. \brief Get the logging context associated with a T.85 encode context. \param s The T.85 encode context. \return A pointer to the logging context
t85_encode_image_complete
\brief Check if we are at the end of the current document page. \param s The T.85 context. \return 0 for more data to come. SIG_STATUS_END_OF_DATA for no more data.
t85_encode_init
\brief Prepare to encode an image in T.85 format. \param s The T.85 context. \param image_width The image width, in pixels. \param image_length The image length, in pixels. \param handler A callback routine to handle encoded image rows. \param user_data An opaque pointer passed to handler. \return A pointer to the context, or NULL if there was a problem.
t85_encode_release
\brief Release a T.85 encode context. \param s The T.85 encode context. \return 0 for OK, else -1.
t85_encode_restart
\brief Restart a T.85 encode context. \param s The T.85 context. \param image_width The image width, in pixels. \param image_length The image length, in pixels. \return 0 for success, otherwise -1.
t85_encode_set_image_length
\brief Alter the length of a T.85 encoded image. The new length cannot be greater than the originally specified length. If the new length is less than the current length it will be silently adjusted to the current length. Therefore, adjust the length to 1 will make the currently encoded length the final length. \param s The T.85 context. \param image_length The new image length, in pixels. \return 0 if OK, or -1 if the request was not valid.
t85_encode_set_image_width
\brief Set the image width. \param s The T.85 context. \param image_width The width of the image. \return 0 for success, otherwise -1.
t85_encode_set_options
\brief Set the T.85 options \param s The T.85 context. \brief l0 ??? \brief mx ??? \brief options ???.
t85_encode_set_row_read_handler
\brief Set the row read handler for a T.85 encode context. \param s The T.85 context. \param handler A pointer to the handler routine. \param user_data An opaque pointer passed to the handler routine. \return 0 for success, otherwise -1.
time_scale
Time scale a chunk of audio samples. \brief Time scale a chunk of audio samples. \param s The time scale context. \param out The output audio sample buffer. This must be large enough to accept the longest possible result from processing the input data. See the algorithm documentation for how the longest possible result may be calculated. \param in The input audio sample buffer. \param len The number of input samples. \return The number of output samples.
time_scale_flush
time_scale_free
\brief Free a time scale context. \param s The time scale context. \return 0 for OK, else -1.
time_scale_init
Initialise a time scale context. This must be called before the first use of the context, to initialise its contents. \brief Initialise a time scale context. \param s The time scale context. \param sample_rate The sample rate of the signal. \param playout_rate The ratio between the output speed and the input speed. \return A pointer to the context, or NULL if there was a problem.
time_scale_max_output_len
Find the maximum possible samples which could result from scaling the specified number of input samples, at the current playback rate. \brief Find the maximum possible output samples. \param s The time scale context. \param input_len The number of input samples. \return The maximum possible output samples.
time_scale_rate
Change the time scale rate. \brief Change the time scale rate. \param s The time scale context. \param playout_rate The ratio between the output speed and the input speed. \return 0 if changed OK, else -1.
time_scale_release
\brief Release a time scale context. \param s The time scale context. \return 0 for OK, else -1.
tone_gen
tone_gen_descriptor_free
tone_gen_descriptor_init
Create a tone generator descriptor \brief Create a tone generator descriptor \param s The descriptor \param f1 The first frequency, in Hz \param l1 The level of the first frequency, in dBm0 \param f2 0 for no second frequency, a positive number for the second frequency, in Hz, or a negative number for an AM modulation frequency, in Hz \param l2 The level of the second frequency, in dBm0, or the percentage modulation depth for an AM modulated tone. \param d1 x \param d2 x \param d3 x \param d4 x \param repeat x
tone_gen_free
tone_gen_init
tone_gen_release
ulaw_to_alaw
\brief Transcode from u-law to A-law, using the procedure defined in G.711. \param ulaw The u-law sample to transcode. \return The best matching A-law value.
v8_call_function_to_str
v8_continue
Continue with negotiation when in gateway mode.
v8_decode_rx
Decode a block of received V.8 audio samples. N.B. This is not the function to call to run the V.8 protocol on received audio. It is for analysing audio streams, to extract the V.8 messages, for monitoring or debug applications. \brief Decode a block of received V.8 audio samples. \param s The V.8 context. \param amp The audio sample buffer. \param len The number of samples in the buffer.
v8_free
Free a V.8 context. \brief Release a V.8 context. \param s The V.8 context. \return 0 for OK.
v8_get_logging_state
v8_init
Initialise a V.8 context. \brief Initialise a V.8 context. \param s The V.8 context. \param calling_party True if caller mode, else answerer mode. \param parms The allowed parameters for the call. \param result_handler The callback routine used to handle the results of negotiation. \param user_data An opaque pointer passed to the result_handler routine. \return A pointer to the V.8 context, or NULL if there was a problem.
v8_log_supported_modulations
Log the list of supported modulations. \brief Log the list of supported modulations. \param s The V.8 context. \param modulation_schemes The list of supported modulations.
v8_modulation_to_str
v8_nsf_to_str
v8_pcm_modem_availability_to_str
v8_protocol_to_str
v8_pstn_access_to_str
v8_release
Release a V.8 context. \brief Release a V.8 context. \param s The V.8 context. \return 0 for OK.
v8_restart
v8_rx
Process a block of received V.8 audio samples. \brief Process a block of received V.8 audio samples. \param s The V.8 context. \param amp The audio sample buffer. \param len The number of samples in the buffer.
v8_status_to_str
v8_t66_to_str
v8_tx
Generate a block of V.8 audio samples. \brief Generate a block of V.8 audio samples. \param s The V.8 context. \param amp The audio sample buffer. \param max_len The number of samples to be generated. \return The number of samples actually generated.
v17_rx
Process a block of received V.17 modem audio samples. \brief Process a block of received V.17 modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed.
v17_rx_carrier_frequency
Get the current received carrier frequency. \param s The modem context. \return The frequency, in Hertz.
v17_rx_equalizer_state
v17_rx_fillin
Fake processing of a missing block of received V.17 modem audio samples. (e.g due to packet loss). \brief Fake processing of a missing block of received V.17 modem audio samples. \param s The modem context. \param len The number of samples to fake. \return The number of samples unprocessed.
v17_rx_free
Free a V.17 modem receive context. \brief Free a V.17 modem receive context. \param s The modem context. \return 0 for OK
v17_rx_get_logging_state
Get the logging context associated with a V.17 modem receive context. \brief Get the logging context associated with a V.17 modem receive context. \param s The modem context. \return A pointer to the logging context
v17_rx_init
Initialise a V.17 modem receive context. \brief Initialise a V.17 modem receive context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 7200, 9600, 12000 and 14400. \param put_bit The callback routine used to put the received data. \param user_data An opaque pointer passed to the put_bit routine. \return A pointer to the modem context, or NULL if there was a problem.
v17_rx_release
Release a V.17 modem receive context. \brief Release a V.17 modem receive context. \param s The modem context. \return 0 for OK
v17_rx_restart
Reinitialise an existing V.17 modem receive context. \brief Reinitialise an existing V.17 modem receive context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 7200, 9600, 12000 and 14400. \param short_train 0 if a long training sequence is expected. 1 if a short training sequence is expected. 2 if the expected training sequence is automatically selected. \return 0 for OK, -1 for bad parameter
v17_rx_set_modem_status_handler
Change the modem status report function associated with a V.17 modem receive context. \brief Change the modem status report function associated with a V.17 modem receive context. \param s The modem context. \param handler The callback routine used to report modem status changes. \param user_data An opaque pointer.
v17_rx_set_put_bit
Change the put_bit function associated with a V.17 modem receive context. \brief Change the put_bit function associated with a V.17 modem receive context. \param s The modem context. \param put_bit The callback routine used to handle received bits. \param user_data An opaque pointer.
v17_rx_set_qam_report_handler
Set a handler routine to process QAM status reports \param s The modem context. \param handler The handler routine. \param user_data An opaque pointer passed to the handler routine.
v17_rx_set_signal_cutoff
Set the power level at which the carrier detection will cut in \param s The modem context. \param cutoff The signal cutoff power, in dBm0.
v17_rx_signal_power
Get a current received signal power. \param s The modem context. \return The signal power, in dBm0.
v17_rx_symbol_timing_correction
Get the current symbol timing correction since startup. \param s The modem context. \return The correction.
v17_tx
Generate a block of V.17 modem audio samples. \brief Generate a block of V.17 modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples to be generated. \return The number of samples actually generated.
v17_tx_free
Free a V.17 modem transmit context. \brief Free a V.17 modem transmit context. \param s The modem context. \return 0 for OK
v17_tx_get_logging_state
Get the logging context associated with a V.17 modem transmit context. \brief Get the logging context associated with a V.17 modem transmit context. \param s The modem context. \return A pointer to the logging context
v17_tx_init
Initialise a V.17 modem transmit context. This must be called before the first use of the context, to initialise its contents. \brief Initialise a V.17 modem transmit context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 7200, 9600, 12000 and 14400. \param tep True is the optional TEP tone is to be transmitted. \param get_bit The callback routine used to get the data to be transmitted. \param user_data An opaque pointer. \return A pointer to the modem context, or NULL if there was a problem.
v17_tx_power
Adjust a V.17 modem transmit context’s power output. \brief Adjust a V.17 modem transmit context’s output power. \param s The modem context. \param power The power level, in dBm0
v17_tx_release
Release a V.17 modem transmit context. \brief Release a V.17 modem transmit context. \param s The modem context. \return 0 for OK
v17_tx_restart
Reinitialise an existing V.17 modem transmit context, so it may be reused. \brief Reinitialise an existing V.17 modem transmit context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 7200, 9600, 12000 and 14400. \param tep True is the optional TEP tone is to be transmitted. \param short_train True if the short training sequence should be used. \return 0 for OK, -1 for parameter error.
v17_tx_set_get_bit
Change the get_bit function associated with a V.17 modem transmit context. \brief Change the get_bit function associated with a V.17 modem transmit context. \param s The modem context. \param get_bit The callback routine used to get the data to be transmitted. \param user_data An opaque pointer.
v17_tx_set_modem_status_handler
Change the modem status report function associated with a V.17 modem transmit context. \brief Change the modem status report function associated with a V.17 modem transmit context. \param s The modem context. \param handler The callback routine used to report modem status changes. \param user_data An opaque pointer.
v18_free
Free a V.18 context. \brief Release a V.18 context. \param s The V.18 context. \return 0 for OK.
v18_get_current_mode
\brief Get the current mode of a V.18 connection. \param s The V.18 context. \return The mode.
v18_get_logging_state
v18_init
Initialise a V.18 context. \brief Initialise a V.18 context. \param s The V.18 context. \param calling_party True if caller mode, else answerer mode. \param mode Mode of operation. \param nation National variant for automoding. \param put_msg A callback routine called to deliver the received text to the application. \param put_msg_user_data An opaque pointer for the put_msg callback routine. \param status_handler A callback routine called to deliver status reports. \param status_handler_user_data An opaque pointer for the status callback routine. \return A pointer to the V.18 context, or NULL if there was a problem.
v18_mode_to_str
\brief Return a short name for a V.18 mode \param mode The code for the V.18 mode. \return A pointer to the name.
v18_put
\brief Put a string to a V.18 context’s input buffer. \param s The V.18 context. \param msg The string to be added. \param len The length of the string. If negative, the string is assumed to be a NULL terminated string. \return The number of characters actually added. This may be less than the length of the digit string, if the buffer fills up. If the string is invalid, this function will return -1.
v18_release
Release a V.18 context. \brief Release a V.18 context. \param s The V.18 context. \return 0 for OK.
v18_rx
Process a block of received V.18 audio samples. \brief Process a block of received V.18 audio samples. \param s The V.18 context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of unprocessed samples.
v18_rx_fillin
Fake processing of a missing block of received V.18 audio samples. (e.g due to packet loss). \brief Fake processing of a missing block of received V.18 audio samples. \param s The V.18 context. \param len The number of samples to fake. \return The number of unprocessed samples.
v18_set_stored_message
\brief Set the stored message, as per V.18/5.2.12.1. This message may be up to 80 bytes long. \param s The V.18 context. \param msg The string to be set.
v18_status_to_str
v18_tx
Generate a block of V.18 audio samples. \brief Generate a block of V.18 audio samples. \param s The V.18 context. \param amp The audio sample buffer. \param max_len The number of samples to be generated. \return The number of samples actually generated.
v22bis_free
Free a V.22bis modem receive context. \brief Free a V.22bis modem receive context. \param s The modem context. \return 0 for OK
v22bis_get_current_bit_rate
Report the current operating bit rate of a V.22bis modem context. \brief Report the current operating bit rate of a V.22bis modem context \param s The modem context.
v22bis_get_logging_state
Get the logging context associated with a V.22bis modem context. \brief Get the logging context associated with a V.22bis modem context. \param s The modem context. \return A pointer to the logging context
v22bis_init
Initialise a V.22bis modem context. This must be called before the first use of the context, to initialise its contents. \brief Initialise a V.22bis modem context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 1200 and 2400. \param options Guard tone and other options. \param calling_party True if this is the calling modem. \param get_bit The callback routine used to get the data to be transmitted. \param get_bit_user_data An opaque pointer, passed in calls to the get_bit routine. \param put_bit The callback routine used to put the data received. \param put_bit_user_data An opaque pointer, passed in calls to the put_bit routine. \return A pointer to the modem context, or NULL if there was a problem.
v22bis_release
Release a V.22bis modem receive context. \brief Release a V.22bis modem receive context. \param s The modem context. \return 0 for OK
v22bis_remote_loopback
Request a loopback 2 for a V.22bis modem context. \brief Request a loopback 2 for a V.22bis modem context. \param s The modem context. \param enable True to enable loopback, or false to disable it. \return 0 for OK, -1 for request reject.
v22bis_request_retrain
Request a retrain for a V.22bis modem context. A rate change may also be requested. \brief Request a retrain for a V.22bis modem context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 1200 and 2400. \return 0 for OK, -1 for request rejected.
v22bis_restart
Reinitialise an existing V.22bis modem context, so it may be reused. \brief Reinitialise an existing V.22bis modem context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 1200 and 2400. \return 0 for OK, -1 for bad parameter.
v22bis_rx
Process a block of received V.22bis modem audio samples. \brief Process a block of received V.22bis modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed.
v22bis_rx_carrier_frequency
Get the current received carrier frequency. \param s The modem context. \return The frequency, in Hertz.
v22bis_rx_equalizer_state
v22bis_rx_fillin
Fake processing of a missing block of received V.22bis modem audio samples. (e.g due to packet loss). \brief Fake processing of a missing block of received V.22bis modem audio samples. \param s The modem context. \param len The number of samples to fake. \return The number of samples unprocessed.
v22bis_rx_set_qam_report_handler
Set a handler routine to process QAM status reports \param s The modem context. \param handler The handler routine. \param user_data An opaque pointer passed to the handler routine.
v22bis_rx_set_signal_cutoff
Set the power level at which the carrier detection will cut in \param s The modem context. \param cutoff The signal cutoff power, in dBm0.
v22bis_rx_signal_power
Get a current received signal power. \param s The modem context. \return The signal power, in dBm0.
v22bis_rx_symbol_timing_correction
Get the current symbol timing correction since startup. \param s The modem context. \return The correction.
v22bis_set_get_bit
Change the get_bit function associated with a V.22bis modem context. \brief Change the get_bit function associated with a V.22bis modem context. \param s The modem context. \param get_bit The callback routine used to get the data to be transmitted. \param user_data An opaque pointer.
v22bis_set_modem_status_handler
Change the modem status report function associated with a V.22bis modem receive context. \brief Change the modem status report function associated with a V.22bis modem receive context. \param s The modem context. \param handler The callback routine used to report modem status changes. \param user_data An opaque pointer.
v22bis_set_put_bit
Change the get_bit function associated with a V.22bis modem context. \brief Change the put_bit function associated with a V.22bis modem context. \param s The modem context. \param put_bit The callback routine used to process the data received. \param user_data An opaque pointer.
v22bis_tx
Generate a block of V.22bis modem audio samples. \brief Generate a block of V.22bis modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples to be generated. \return The number of samples actually generated.
v22bis_tx_power
Adjust a V.22bis modem transmit context’s power output. \brief Adjust a V.22bis modem transmit context’s output power. \param s The modem context. \param power The power level, in dBm0
v27ter_rx
Process a block of received V.27ter modem audio samples. \brief Process a block of received V.27ter modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed.
v27ter_rx_carrier_frequency
Get the current received carrier frequency. \param s The modem context. \return The frequency, in Hertz.
v27ter_rx_equalizer_state
v27ter_rx_fillin
Fake processing of a missing block of received V.27ter modem audio samples. (e.g due to packet loss). \brief Fake processing of a missing block of received V.27ter modem audio samples. \param s The modem context. \param len The number of samples to fake. \return The number of samples unprocessed.
v27ter_rx_free
Free a V.27ter modem receive context. \brief Free a V.27ter modem receive context. \param s The modem context. \return 0 for OK
v27ter_rx_get_logging_state
Get the logging context associated with a V.27ter modem receive context. \brief Get the logging context associated with a V.27ter modem receive context. \param s The modem context. \return A pointer to the logging context
v27ter_rx_init
Initialise a V.27ter modem receive context. \brief Initialise a V.27ter modem receive context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 2400 and 4800. \param put_bit The callback routine used to put the received data. \param user_data An opaque pointer passed to the put_bit routine. \return A pointer to the modem context, or NULL if there was a problem.
v27ter_rx_release
Release a V.27ter modem receive context. \brief Release a V.27ter modem receive context. \param s The modem context. \return 0 for OK
v27ter_rx_restart
Reinitialise an existing V.27ter modem receive context. \brief Reinitialise an existing V.27ter modem receive context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 2400 and 4800. \param old_train True if a previous trained values are to be reused. \return 0 for OK, -1 for bad parameter
v27ter_rx_set_modem_status_handler
Change the modem status report function associated with a V.27ter modem receive context. \brief Change the modem status report function associated with a V.27ter modem receive context. \param s The modem context. \param handler The callback routine used to report modem status changes. \param user_data An opaque pointer.
v27ter_rx_set_put_bit
Change the put_bit function associated with a V.27ter modem receive context. \brief Change the put_bit function associated with a V.27ter modem receive context. \param s The modem context. \param put_bit The callback routine used to handle received bits. \param user_data An opaque pointer.
v27ter_rx_set_qam_report_handler
Set a handler routine to process QAM status reports \param s The modem context. \param handler The handler routine. \param user_data An opaque pointer passed to the handler routine.
v27ter_rx_set_signal_cutoff
Set the power level at which the carrier detection will cut in \param s The modem context. \param cutoff The signal cutoff power, in dBm0.
v27ter_rx_signal_power
Get a current received signal power. \param s The modem context. \return The signal power, in dBm0.
v27ter_rx_symbol_timing_correction
Get the current symbol timing correction since startup. \param s The modem context. \return The correction.
v27ter_tx
Generate a block of V.27ter modem audio samples. \brief Generate a block of V.27ter modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples to be generated. \return The number of samples actually generated.
v27ter_tx_free
Free a V.27ter modem transmit context. \brief Free a V.27ter modem transmit context. \param s The modem context. \return 0 for OK
v27ter_tx_get_logging_state
Get the logging context associated with a V.27ter modem transmit context. \brief Get the logging context associated with a V.27ter modem transmit context. \param s The modem context. \return A pointer to the logging context
v27ter_tx_init
Initialise a V.27ter modem transmit context. \brief Initialise a V.27ter modem transmit context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 2400 and 4800. \param tep True is the optional TEP tone is to be transmitted. \param get_bit The callback routine used to get the data to be transmitted. \param user_data An opaque pointer. \return A pointer to the modem context, or NULL if there was a problem.
v27ter_tx_power
Adjust a V.27ter modem transmit context’s power output. \brief Adjust a V.27ter modem transmit context’s output power. \param s The modem context. \param power The power level, in dBm0
v27ter_tx_release
Release a V.27ter modem transmit context. \brief Release a V.27ter modem transmit context. \param s The modem context. \return 0 for OK
v27ter_tx_restart
Reinitialise an existing V.27ter modem transmit context, so it may be reused. \brief Reinitialise an existing V.27ter modem transmit context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 2400 and 4800. \param tep True is the optional TEP tone is to be transmitted. \return 0 for OK, -1 for bad parameter
v27ter_tx_set_get_bit
Change the get_bit function associated with a V.27ter modem transmit context. \brief Change the get_bit function associated with a V.27ter modem transmit context. \param s The modem context. \param get_bit The callback routine used to get the data to be transmitted. \param user_data An opaque pointer.
v27ter_tx_set_modem_status_handler
Change the modem status report function associated with a V.27ter modem transmit context. \brief Change the modem status report function associated with a V.27ter modem transmit context. \param s The modem context. \param handler The callback routine used to report modem status changes. \param user_data An opaque pointer.
v29_rx
Process a block of received V.29 modem audio samples. \brief Process a block of received V.29 modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples in the buffer. \return The number of samples unprocessed.
v29_rx_carrier_frequency
Get the current received carrier frequency. \param s The modem context. \return The frequency, in Hertz.
v29_rx_equalizer_state
v29_rx_fillin
Fake processing of a missing block of received V.29 modem audio samples. (e.g due to packet loss). \brief Fake processing of a missing block of received V.29 modem audio samples. \param s The modem context. \param len The number of samples to fake. \return The number of samples unprocessed.
v29_rx_free
Free a V.29 modem receive context. \brief Free a V.29 modem receive context. \param s The modem context. \return 0 for OK
v29_rx_get_logging_state
Get the logging context associated with a V.29 modem receive context. \brief Get the logging context associated with a V.29 modem receive context. \param s The modem context. \return A pointer to the logging context
v29_rx_init
Initialise a V.29 modem receive context. \brief Initialise a V.29 modem receive context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 4800, 7200 and 9600. \param put_bit The callback routine used to put the received data. \param user_data An opaque pointer passed to the put_bit routine. \return A pointer to the modem context, or NULL if there was a problem.
v29_rx_release
Release a V.29 modem receive context. \brief Release a V.29 modem receive context. \param s The modem context. \return 0 for OK
v29_rx_restart
Reinitialise an existing V.29 modem receive context. \brief Reinitialise an existing V.29 modem receive context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 4800, 7200 and 9600. \param old_train True if a previous trained values are to be reused. \return 0 for OK, -1 for bad parameter
v29_rx_set_modem_status_handler
Change the modem status report function associated with a V.29 modem receive context. \brief Change the modem status report function associated with a V.29 modem receive context. \param s The modem context. \param handler The callback routine used to report modem status changes. \param user_data An opaque pointer.
v29_rx_set_put_bit
Change the put_bit function associated with a V.29 modem receive context. \brief Change the put_bit function associated with a V.29 modem receive context. \param s The modem context. \param put_bit The callback routine used to handle received bits. \param user_data An opaque pointer.
v29_rx_set_qam_report_handler
Set a handler routine to process QAM status reports \param s The modem context. \param handler The handler routine. \param user_data An opaque pointer passed to the handler routine.
v29_rx_set_signal_cutoff
Set the power level at which the carrier detection will cut in \param s The modem context. \param cutoff The signal cutoff power, in dBm0.
v29_rx_signal_power
Get the current received signal power. \param s The modem context. \return The signal power, in dBm0.
v29_rx_symbol_timing_correction
Get the current symbol timing correction since startup. \param s The modem context. \return The correction.
v29_tx
Generate a block of V.29 modem audio samples. \brief Generate a block of V.29 modem audio samples. \param s The modem context. \param amp The audio sample buffer. \param len The number of samples to be generated. \return The number of samples actually generated.
v29_tx_free
Free a V.29 modem transmit context. \brief Free a V.29 modem transmit context. \param s The modem context. \return 0 for OK
v29_tx_get_logging_state
Get the logging context associated with a V.29 modem transmit context. \brief Get the logging context associated with a V.29 modem transmit context. \param s The modem context. \return A pointer to the logging context
v29_tx_init
Initialise a V.29 modem transmit context. This must be called before the first use of the context, to initialise its contents. \brief Initialise a V.29 modem transmit context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 4800, 7200 and 9600. \param tep True is the optional TEP tone is to be transmitted. \param get_bit The callback routine used to get the data to be transmitted. \param user_data An opaque pointer. \return A pointer to the modem context, or NULL if there was a problem.
v29_tx_power
Adjust a V.29 modem transmit context’s power output. \brief Adjust a V.29 modem transmit context’s output power. \param s The modem context. \param power The power level, in dBm0
v29_tx_release
Release a V.29 modem transmit context. \brief Release a V.29 modem transmit context. \param s The modem context. \return 0 for OK
v29_tx_restart
Reinitialise an existing V.29 modem transmit context, so it may be reused. \brief Reinitialise an existing V.29 modem transmit context. \param s The modem context. \param bit_rate The bit rate of the modem. Valid values are 4800, 7200 and 9600. \param tep True is the optional TEP tone is to be transmitted. \return 0 for OK, -1 for bad parameter
v29_tx_set_get_bit
Change the get_bit function associated with a V.29 modem transmit context. \brief Change the get_bit function associated with a V.29 modem transmit context. \param s The modem context. \param get_bit The callback routine used to get the data to be transmitted. \param user_data An opaque pointer.
v29_tx_set_modem_status_handler
Change the modem status report function associated with a V.29 modem transmit context. \brief Change the modem status report function associated with a V.29 modem transmit context. \param s The modem context. \param handler The callback routine used to report modem status changes. \param user_data An opaque pointer.
v42_free
Free a V.42 context. \param s The V.42 context. \return 0 if OK
v42_get_far_busy_status
Get the busy status of the far end of a V.42 context. \param s The V.42 context. \return The far end busy status.
v42_get_logging_state
Get the logging context associated with a V.42 context. \brief Get the logging context associated with a V.42 context. \param s The V.42 context. \return A pointer to the logging context
v42_init
Initialise a V.42 context. \param s The V.42 context. \param calling_party True if caller mode, else answerer mode. \param detect True to perform the V.42 detection, else go straight into LAP.M \param iframe_get A callback function to handle received frames of data. \param iframe_put A callback function to get frames of data for transmission. \param user_data An opaque pointer passed to the frame handler routines. \return ???
v42_release
Release a V.42 context. \param s The V.42 context. \return 0 if OK
v42_restart
Restart a V.42 context. \param s The V.42 context.
v42_rx_bit
v42_set_local_busy_status
Set the busy status of the local end of a V.42 context. \param s The V.42 context. \param busy The new local end busy status. \return The previous local end busy status.
v42_set_status_callback
v42_start
v42_stop
v42_tx_bit
v42bis_compress
Compress a block of octets. \param s The V.42bis context. \param buf The data to be compressed. \param len The length of the data buffer. \return 0
v42bis_compress_flush
Flush out any data remaining in a compression buffer. \param s The V.42bis context. \return 0
v42bis_compression_control
Set the compression mode. \param s The V.42bis context. \param mode One of the V.42bis compression modes - V42BIS_COMPRESSION_MODE_DYNAMIC, V42BIS_COMPRESSION_MODE_ALWAYS, V42BIS_COMPRESSION_MODE_NEVER
v42bis_decompress
Decompress a block of octets. \param s The V.42bis context. \param buf The data to be decompressed. \param len The length of the data buffer. \return 0
v42bis_decompress_flush
Flush out any data remaining in the decompression buffer. \param s The V.42bis context. \return 0
v42bis_free
Free a V.42bis context. \param s The V.42bis context. \return 0 if OK
v42bis_get_logging_state
Get the logging context associated with a V.42bis context. \brief Get the logging context associated with a V.42bis context. \param s The V.42bis context. \return A pointer to the logging context
v42bis_init
Initialise a V.42bis context. \param s The V.42bis context. \param negotiated_p0 The negotiated P0 parameter, from the V.42bis spec. \param negotiated_p1 The negotiated P1 parameter, from the V.42bis spec. \param negotiated_p2 The negotiated P2 parameter, from the V.42bis spec. \param encode_handler Encode callback handler. \param encode_user_data An opaque pointer passed to the encode callback handler. \param max_encode_len The maximum length that should be passed to the encode handler. \param decode_handler Decode callback handler. \param decode_user_data An opaque pointer passed to the decode callback handler. \param max_decode_len The maximum length that should be passed to the decode handler. \return The V.42bis context.
v42bis_release
Release a V.42bis context. \param s The V.42bis context. \return 0 if OK
v80_bit_rate_code_to_bit_rate
v80_escape_to_str
v150_1_break_source_to_str
v150_1_break_type_to_str
v150_1_cleardown_reason_to_str
v150_1_compression_direction_to_str
v150_1_compression_to_str
v150_1_data_bits_to_str
v150_1_error_correction_to_str
v150_1_free
v150_1_get_far_busy_status
v150_1_get_local_tc_payload_bytes
v150_1_get_logging_state
v150_1_init
Initialise a V.150.1 context. This must be called before the first use of the context, to initialise its contents. \brief Initialise a V.150.1 context. \param s The V.150.1 context. \param sprt_tx_packet_handler Callback routine to handle the transmission of SPRT packets. \param sprt_tx_packet_handler_user_data An opaque pointer, passed in calls to the SPRT packet tx handler \param sprt_tx_payload_type The payload type for transmitted SPRT packets. \param sprt_rx_payload_type The payload type expected in received SPRT packets. \param sse_tx_packet_handler Callback routine to handle the transmission of SSE packets. \param sse_tx_packet_user_data An opaque pointer, passed in calls to the SSE tx packet handler \param v150_1_timer_handler Callback routine to control SPRT, SSE and overall V.150.1 timers. \param v150_1_timer_user_data An opaque pointer, passed in calls to the timer handler \param rx_data_handler Callback routine to handle the octet stream from an SPRT interaction \param rx_data_handler_user_data An opaque pointer, passed in calls to the rx octet handler. \param rx_status_report_handler Callback routine for V.150.1 protocol status reports \param rx_status_report_user_data An opaque pointer, passed in calls to the rx status report handler \param spe_signal_handler \param spe_signal_handler_user_data \return A pointer to the V.150.1 context, or NULL if there was a problem.
v150_1_jm_category_to_str
v150_1_jm_info_modulation_to_str
v150_1_media_state_to_str
v150_1_modulation_to_str
v150_1_mr_event_type_to_str
v150_1_msg_id_to_str
v150_1_parity_to_str
v150_1_process_rx_msg
v150_1_release
v150_1_rx_sse_packet
Receive an SSE packet, broken out of an RTP stream. \brief Receive an SSE packet. \param s V.150.1 SSE context. \param seq_no \param timestamp \param pkt \param len
v150_1_set_bits_per_character
v150_1_set_call_discrimination_timeout
v150_1_set_compression
v150_1_set_compression_direction
v150_1_set_compression_parameters
v150_1_set_error_correction
v150_1_set_far_cdscselect
v150_1_set_far_modem_relay_gateway_type
v150_1_set_info_stream_msg_priorities
v150_1_set_info_stream_tx_mode
v150_1_set_local_busy
v150_1_set_local_tc_payload_bytes
v150_1_set_modulation
v150_1_set_near_cdscselect
v150_1_set_near_modem_relay_gateway_type
v150_1_set_parity
v150_1_set_rfc4733_mode
v150_1_set_rx_data_signalling_rate
v150_1_set_rx_symbol_rate
v150_1_set_sse_reliability_method
Select one of the reliability schemes from V.150.1/C.4. \brief Select one of the reliability schemes from V.150.1/C.4. \param s V.150.1 SSE context. \param method The chosen method. \param parm1 maximum transmissions. \param parm2 delay between transmissions, or T0, in microseconds. \param parm3 T1, in microseconds. \return 0 for Ok, else negative.
v150_1_set_stop_bits
v150_1_set_tx_data_signalling_rate
v150_1_set_tx_symbol_rate
v150_1_signal_to_str
v150_1_sse_cleardown_reason_to_str
v150_1_sse_media_state_to_str
v150_1_sse_moip_ric_to_str
v150_1_sse_status_to_str
v150_1_sse_timeout_reason_to_str
v150_1_state_machine
v150_1_state_to_str
v150_1_status_reason_to_str
v150_1_stop_bits_to_str
v150_1_symbol_rate_to_str
v150_1_test_rx_sprt_msg
v150_1_timer_expired
v150_1_tx_break
v150_1_tx_break_ack
v150_1_tx_cleardown
v150_1_tx_connect
v150_1_tx_info_stream
v150_1_tx_init
v150_1_tx_jm_info
v150_1_tx_mr_event
v150_1_tx_null
v150_1_tx_prof_xchg
v150_1_tx_sse_packet
Transmit an SSE packet, for insertion into an RTP packet. This is normally needed by an application. \brief Transmit an SSE packet. \param s V.150.1 SSE context. \param event \param ric \param ricinfo
v150_1_tx_start_jm
v150_1_tx_xid_xchg

Type Aliases§

_bindgen_ty_2
_bindgen_ty_3
_bindgen_ty_4
_bindgen_ty_7
_bindgen_ty_27
_bindgen_ty_28
_bindgen_ty_29
_bindgen_ty_31
_bindgen_ty_35
_bindgen_ty_49
\page g722_page G.722 encoding and decoding \section g722_page_sec_1 What does it do? The G.722 module is a bit exact implementation of the ITU G.722 specification for all three specified bit rates - 64000bps, 56000bps and 48000bps. It passes the ITU tests.
_bindgen_ty_50
\page g726_page G.726 encoding and decoding \section g726_page_sec_1 What does it do?
_bindgen_ty_51
ademco_contactid_receiver_state_t
ademco_contactid_report_func_t
ademco_contactid_sender_state_t
adsi_rx_state_t
ADSI receiver descriptor. This contains all the state information for an ADSI (caller ID, CLASS, CLIP, ACLIP, JCLIP) receive channel.
adsi_tx_state_t
ADSI transmitter descriptor. This contains all the state information for an ADSI (caller ID, CLASS, CLIP, ACLIP) transmit channel.
async_rx_state_t
Asynchronous data receive descriptor. This defines the state of a single working instance of an asynchronous serial to byte converter, for use in FSK modems.
async_tx_state_t
Asynchronous data transmit descriptor. This defines the state of a single working instance of a byte to asynchronous serial converter, for use in FSK modems.
at_state_t
\page at_page AT command interpreter \section at_page_sec_1 What does it do? The AT interpreter module implements V.251, V.252, V.253, T.31 and various 3GPP modem control commands.
at_tx_handler_t
awgn_state_t
AWGN generator descriptor. This contains all the state information for an AWGN generator.
bert_report_func_t
bert_state_t
Bit error rate tester (BERT) descriptor. This defines the working state for a single instance of the BERT.
bitstream_state_t
Bitstream handler state
data_modems_control_handler_t
data_modems_state_t
The set of modems needed for data, plus the auxilliary stuff, like tone generation.
digits_rx_callback_t
digits_tx_callback_t
dtmf_rx_state_t
DTMF digit detector descriptor.
dtmf_tx_state_t
DTMF generator state descriptor. This defines the state of a single working instance of a DTMF generator.
echo_can_state_t
G.168 echo canceller descriptor. This defines the working state for a line echo canceller.
fax_modems_state_t
The set of modems needed for FAX, plus the auxilliary stuff, like tone generation.
fax_state_t
\page fax_page FAX over analogue modem handling
fsk_rx_state_t
FSK modem receive descriptor. This defines the state of a single working instance of an FSK modem receiver.
fsk_tx_state_t
FSK modem transmit descriptor. This defines the state of a single working instance of an FSK modem transmitter.
g711_state_t
G.711 state
g722_decode_state_t
G.722 decode state
g722_encode_state_t
G.722 encode state
g726_decoder_func_t
g726_encoder_func_t
g726_state_t
G.726 state
godard_ted_descriptor_t
godard_ted_state_t
goertzel_descriptor_t
Goertzel filter descriptor.
goertzel_state_t
Goertzel filter state descriptor.
gsm0610_state_t
GSM 06.10 FR codec state descriptor. This defines the state of a single working instance of the GSM 06.10 FR encoder or decoder.
hdlc_frame_handler_t
hdlc_rx_state_t
HDLC receive descriptor. This contains all the state information for an HDLC receiver.
hdlc_tx_state_t
HDLC transmit descriptor. This contains all the state information for an HDLC transmitter.
hdlc_underflow_handler_t
ima_adpcm_state_t
IMA (DVI/Intel) ADPCM conversion state descriptor. This defines the state of a single working instance of the IMA ADPCM converter. This is used for either linear to ADPCM or ADPCM to linear conversion.
image_translate_state_t
\page image_translate_page Image translation \section image_translate_page_sec_1 What does it do?
logging_state_t
Logging descriptor. This defines the working state for a single instance of the logging facility for spandsp.
lpc10_decode_state_t
LPC10 codec decoder state descriptor. This defines the state of a single working instance of the LPC10 decoder.
lpc10_encode_state_t
LPC10 codec encoder state descriptor. This defines the state of a single working instance of the LPC10 encoder.
message_handler_func_t
Logging function for spandsp logging.
modem_connect_tones_rx_state_t
Modem connect tones receiver descriptor. This defines the state of a single working instance of the tone detector.
modem_connect_tones_tx_state_t
Modem connect tones generator descriptor. This defines the state of a single working instance of the tone generator.
modem_echo_can_segment_state_t
modem_echo_can_state_t
Modem line echo canceller descriptor. This defines the working state for a line echo canceller.
noise_state_t
Noise generator descriptor. This contains all the state information for an instance of the noise generator.
oki_adpcm_state_t
Oki (Dialogic) ADPCM conversion state descriptor. This defines the state of a single working instance of the Oki ADPCM converter. This is used for either linear to ADPCM or ADPCM to linear conversion.
playout_frame_t
playout_state_t
Playout (jitter buffer) descriptor. This defines the working state for a single instance of playout buffering.
plc_state_t
The generic packet loss concealer context.
power_meter_t
Power meter descriptor. This defines the working state for a single instance of a power measurement device.
power_surge_detector_state_t
qam_report_handler_t
queue_state_t
Queue descriptor. This defines the working state for a single instance of a byte stream or message oriented queue.
sig_tone_rx_state_t
sig_tone_tx_state_t
silence_gen_state_t
span_aligned_alloc_t
span_aligned_free_t
span_alloc_t
span_free_t
span_get_bit_func_t
Bit get function for data pumps
span_get_byte_func_t
Byte get function for data pumps
span_get_msg_func_t
Message get function for data pumps
span_mod_handler_t
\brief A handler for receive, where the buffer can be altered.
span_modem_status_func_t
Status change callback function for data pumps
span_put_bit_func_t
Bit put function for data pumps
span_put_byte_func_t
Byte put function for data pumps
span_put_msg_func_t
Message put function for data pumps
span_realloc_t
span_rx_fillin_handler_t
\brief A handler for missing receive data fill-in.
span_rx_handler_t
\brief A handler for pure receive. The buffer cannot be altered.
span_sample_timer_t
\brief A timer variable for timing by counting audio samples.
span_sched_callback_func_t
span_sched_state_t
A scheduled event queue.
span_sched_t
A scheduled event entry.
span_timestamp_t
\brief A timer variable large enough that when in microseconds it just won’t overflow. Most things in spandsp are timed by audio samples, but some things need access to global timers.
span_tone_report_func_t
Tone detection indication callback routine
span_tx_handler_t
\brief A handler for transmit, where the buffer will be filled.
sprt_rx_delivery_handler_t
sprt_state_t
sprt_status_e
sprt_tcid_e
sprt_tcid_range_view_e
sprt_timer_action_e
sprt_timer_e
sprt_timer_handler_t
sprt_tx_packet_handler_t
super_tone_rx_descriptor_t
super_tone_rx_segment_t
super_tone_rx_state_t
super_tone_tx_state_t
super_tone_tx_step_t
swept_tone_state_t
\page swept_tone_page The swept tone generator \section swept_tone_page_sec_1 What does it do?
t4_decoder_status_t
Return values from the T.85 decoder
t4_image_compression_t
Supported compression modes.
t4_image_format_status_t
t4_image_length_t
Length of the various supported paper sizes, in pixels at the various Y resolutions. Paper sizes are A4 (210mm x 297mm) B4 (250mm x 353mm) A3 (297mm x 420mm) North American Letter (215.9mm x 279.4mm or 8.5“x11“) North American Legal (215.9mm x 355.6mm or 8.4“x14“) Unlimited
t4_image_types_t
Image type
t4_image_width_t
Exact widths in PELs for the difference resolutions, and page widths. Note: The A4 widths also apply to North American letter and legal. The R4 resolution widths are not supported in recent versions of T.30 Only images of exactly these widths are acceptable for FAX transmisson.
t4_image_x_resolution_t
Supported X resolutions, in pixels per metre.
t4_image_y_resolution_t
Supported Y resolutions, in pixels per metre.
t4_row_read_handler_t
This function is a callback from the image decoders, to read the unencoded bi-level image, row by row. It is called for each row, with len set to the number of bytes per row expected. \return len for OK, or zero to indicate the end of the image data.
t4_row_write_handler_t
This function is a callback from the image decoders, to write the decoded bi-level image, row by row. It is called for each row, with len set to the number of bytes per row. At the end of the image it is called with len set to zero, to indicate the end of image condition. \return 0 for OK, or non-zero for a problem that requires the image be interrupted.
t4_rx_state_t
T.4 FAX compression/decompression descriptor. This defines the working state for a single instance of a T.4 FAX compression or decompression channel.
t4_t6_decode_state_t
\page t4_t6_decode_page T.4 and T.6 FAX image decompression
t4_t6_encode_state_t
t4_tx_state_t
T.4 FAX compression/decompression descriptor. This defines the working state for a single instance of a T.4 FAX compression or decompression channel.
t30_document_get_handler_t
T.30 send document handler. \brief T.30 send document handler. \param user_data An opaque pointer. \param msg The document chunk. \param len The length of the chunk. \return The actual length of the chunk.
t30_document_handler_t
T.30 document handler. \brief T.30 document handler. \param user_data An opaque pointer. \param result The document event code.
t30_document_put_handler_t
T.30 deliver document handler. \brief T.30 deliver handler. \param user_data An opaque pointer. \param msg The document chunk. \param len The length of the chunk. \return The delivery status.
t30_iaf_mode_e
t30_modem_e
I/O modes for the T.30 protocol. These are allocated such that the lower 4 bits represents the variant of the modem - e.g. the particular bit rate selected.
t30_phase_b_handler_t
T.30 phase B callback handler. This handler can be used to process addition information available in some FAX calls, such as passwords. The callback handler can access whatever additional information might have been received, using t30_get_received_info(). \brief T.30 phase B callback handler. \param user_data An opaque pointer. \param result The phase B event code. \return The new status. Normally, T30_ERR_OK is returned.
t30_phase_d_handler_t
T.30 phase D callback handler. \brief T.30 phase D callback handler. \param user_data An opaque pointer. \param result The phase D event code. \return The new status. Normally, T30_ERR_OK is returned.
t30_phase_e_handler_t
T.30 phase E callback handler. \brief T.30 phase E callback handler. \param user_data An opaque pointer. \param completion_code The phase E completion code.
t30_real_time_frame_handler_t
T.30 real time frame handler. \brief T.30 real time frame handler. \param user_data An opaque pointer. \param incoming True for incoming, false for outgoing. \param msg The HDLC message. \param len The length of the message.
t30_send_hdlc_handler_t
T.30 send HDLC handler. \brief T.30 send HDLC handler. \param user_data An opaque pointer. \param msg The HDLC message. \param len The length of the message. -1 to flush the HDLC queue.
t30_set_handler_t
T.30 set a receive or transmit type handler. \brief T.30 set a receive or transmit type handler. \param user_data An opaque pointer. \param type The modem, tone or silence to be sent or received. \param bit_rate The bit rate of the modem to be sent or received. \param short_train True if the short training sequence should be used (where one exists). \param use_hdlc False for bit stream, true for HDLC framing.
t30_state_t
t31_modem_control_handler_t
t31_state_t
T.31 descriptor. This defines the working state for a single instance of a T.31 FAX modem.
t38_chunking_mode_e
t38_core_state_t
Core T.38 state, common to all modes of T.38.
t38_data_rate_management_types_e
T.38 TCF management types
t38_gateway_real_time_frame_handler_t
T.38 gateway real time frame handler. \brief T.38 gateway real time frame handler. \param user_data An opaque pointer. \param incoming True for incoming, false for outgoing. \param msg The HDLC message. \param len The length of the message.
t38_gateway_state_t
t38_non_ecm_buffer_state_t
\brief A flow controlled non-ECM image data buffer, for buffering T.38 to analogue modem data.
t38_packet_categories_e
T.38 Packet categories used for setting the redundancy level and packet repeat counts on a packet by packet basis.
t38_rx_data_handler_t
t38_rx_indicator_handler_t
t38_rx_missing_handler_t
t38_terminal_state_t
t38_transport_types_e
T.38 transport types
t38_tx_packet_handler_t
t42_decode_state_t
State of a working instance of the T.42 decoder
t42_encode_state_t
State of a working instance of the T.42 encoder
t43_decode_state_t
State of a working instance of the T.43 decoder
t43_encode_state_t
State of a working instance of the T.43 encoder
t81_t82_arith_decode_state_t
t81_t82_arith_encode_state_t
\page t81_t82_arith_coding_page T.81 and T.82 QM-coder arithmetic encoding and decoding
t85_decode_state_t
State of a working instance of the T.85 decoder
t85_encode_state_t
State of a working instance of the T.85 encoder
time_scale_state_t
Audio time scaling descriptor.
timestamp_t
tone_gen_descriptor_t
Cadenced multi-tone generator descriptor.
tone_gen_state_t
Cadenced multi-tone generator state descriptor. This defines the state of a single working instance of a generator.
tone_gen_tone_descriptor_t
\page tone_generation_page Tone generation \section tone_generation_page_sec_1 What does it do? The tone generation module provides for the generation of cadenced tones, suitable for a wide range of telephony applications.
tone_segment_func_t
tz_t
\page timezone_page Timezone handling
v8_call_function_e
v8_cm_jm_parms_t
v8_modulation_e
v8_parms_t
v8_pcm_modem_availability_e
v8_protocol_e
v8_pstn_access_e
v8_result_handler_t
v8_state_t
v8_status_e
v17_rx_state_t
V.17 modem receive side descriptor. This defines the working state for a single instance of a V.17 modem receiver.
v17_tx_state_t
V.17 modem transmit side descriptor. This defines the working state for a single instance of a V.17 modem transmitter.
v18_autobauding_modes_e
v18_state_t
v18_status_e
v22bis_options_t
v22bis_state_t
V.22bis modem descriptor. This defines the working state for a single instance of a V.22bis modem.
v27ter_rx_state_t
V.27ter modem receive side descriptor. This defines the working state for a single instance of a V.27ter modem receiver.
v27ter_tx_state_t
V.27ter modem transmit side descriptor. This defines the working state for a single instance of a V.27ter modem transmitter.
v29_rx_state_t
V.29 modem receive side descriptor. This defines the working state for a single instance of a V.29 modem receiver.
v29_tx_state_t
V.29 modem transmit side descriptor. This defines the working state for a single instance of a V.29 modem transmitter.
v42_state_t
v42bis_state_t
V.42bis compression/decompression descriptor. This defines the working state for a single instance of V.42bis compress/decompression.
v80_state_t
v150_1_break_source_e
v150_1_break_type_e
v150_1_cdscselect_e
v150_1_cleardown_reason_e
v150_1_compress_e
v150_1_compression_e
v150_1_data_bits_e
v150_1_error_correction_e
v150_1_jm_access_e
v150_1_jm_call_function_e
v150_1_jm_category_id_e
v150_1_jm_modulation_mode_e
v150_1_jm_pcm_mode_e
v150_1_jm_protocol_e
v150_1_media_states_e
v150_1_modem_relay_gateway_type_e
v150_1_mr_event_id_e
v150_1_mr_event_reason_e
v150_1_mrmods_e
v150_1_msgid_e
v150_1_parity_e
v150_1_rx_data_handler_t
v150_1_rx_status_report_handler_t
v150_1_selmod_e
v150_1_spe_signal_handler_t
v150_1_sse_foip_ric_code_e
v150_1_sse_moip_ric_code_e
v150_1_sse_moip_ric_info_v8_cleardown_reason_code_e
v150_1_sse_moip_ric_info_v8_cm_code_e
v150_1_sse_moip_ric_info_v8_timeout_reason_code_e
v150_1_sse_reliability_option_e
v150_1_sse_state_t
v150_1_sse_status_e
v150_1_sse_status_handler_t
v150_1_sse_tx_packet_handler_t
v150_1_state_e
v150_1_state_t
v150_1_status_reason_e
v150_1_stop_bits_e
v150_1_support_e
v150_1_symbol_rate_e
v150_1_timer_handler_t
v150_1_tx_packet_handler_t

Unions§

v150_1_status_t__bindgen_ty_1