Go to the source code of this file.
Typedefs | |
typedef int(* | sig_tone_func_t )(void *user_data, int what) |
typedef sig_tone_descriptor_s | sig_tone_descriptor_t |
typedef sig_tone_tx_state_s | sig_tone_tx_state_t |
typedef sig_tone_rx_state_s | sig_tone_rx_state_t |
Enumerations | |
enum | { SIG_TONE_2280HZ = 1, SIG_TONE_2600HZ, SIG_TONE_2400HZ_2600HZ } |
enum | { SIG_TONE_1_PRESENT = 0x001, SIG_TONE_1_CHANGE = 0x002, SIG_TONE_2_PRESENT = 0x004, SIG_TONE_2_CHANGE = 0x008, SIG_TONE_TX_PASSTHROUGH = 0x010, SIG_TONE_RX_PASSTHROUGH = 0x020, SIG_TONE_UPDATE_REQUEST = 0x100 } |
Functions | |
SPAN_DECLARE (int) sig_tone_rx(sig_tone_rx_state_t *s | |
Release a V.8 context. | |
SPAN_DECLARE (sig_tone_rx_state_t *) sig_tone_rx_init(sig_tone_rx_state_t *s | |
Initialise a signaling tone context. | |
SPAN_DECLARE (void) sig_tone_tx_set_mode(sig_tone_tx_state_t *s | |
Cleanup a T.30 context if the call terminates. | |
SPAN_DECLARE (sig_tone_tx_state_t *) sig_tone_tx_init(sig_tone_tx_state_t *s | |
Initialise a signaling tone context. | |
Variables | |
int16_t | amp [] |
int16_t int | len |
int | tone_type |
int sig_tone_func_t | sig_update |
int sig_tone_func_t void * | user_data |
int | mode |
|
Signaling tone descriptor. This defines the working state for a single instance of the transmit and receive sides of a signaling tone processor. |
|
|
|
|
Initialise a signaling tone context. Initialise a signaling tone transmitter context.
|
|
Cleanup a T.30 context if the call terminates. Set the tone mode.
|
|
Initialise a signaling tone context. Initialise a signaling tone receiver context.
|
|
Release a V.8 context. Process a block of received audio samples.
|