|
spandsp 3.0.0
|
#include <modem_connect_tones.h>
Public Attributes | |
| int | tone_type |
| The tone type being detected. | |
| bool | real_time_reports |
| span_tone_report_func_t | tone_callback |
| Callback routine, using to report detection of the tone. | |
| void * | callback_data |
| An opaque pointer passed to tone_callback. | |
| float | znotch_1 |
| The notch filter state. | |
| float | znotch_2 |
| float | z15hz_1 |
| The 15Hz AM filter state. | |
| float | z15hz_2 |
| int32_t | notch_level |
| The in notch power estimate. | |
| int32_t | channel_level |
| The total channel power estimate. | |
| int32_t | am_level |
| The 15Hz AM power estimate. | |
| int | chunk_remainder |
| Sample counter for the small chunks of samples, after which a test is conducted. | |
| int | tone_present |
| The code for the tone currently confirmed present in the audio. | |
| int | tone_on |
| int | tone_cycle_duration |
| A millisecond counter, to time the duration of tone sections. | |
| int | good_cycles |
| A count of the number of good cycles of tone reversal seen. | |
| int | hit |
| The confirmed tone code. | |
| fsk_rx_state_t | v21rx |
| A V.21 FSK modem context used when searching for FAX preamble. | |
| unsigned int | raw_bit_stream |
| The raw (stuffed) bit stream buffer. | |
| int | num_bits |
| The current number of bits in the octet in progress. | |
| int | flags_seen |
| Number of consecutive flags seen so far. | |
| bool | framing_ok_announced |
| True if framing OK has been announced. | |
Modem connect tones receiver descriptor. This defines the state of a single working instance of the tone detector.
| int32_t modem_connect_tones_rx_state_s::am_level |
The 15Hz AM power estimate.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().
| void* modem_connect_tones_rx_state_s::callback_data |
An opaque pointer passed to tone_callback.
Referenced by modem_connect_tones_rx_init().
| int32_t modem_connect_tones_rx_state_s::channel_level |
The total channel power estimate.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().
| int modem_connect_tones_rx_state_s::flags_seen |
Number of consecutive flags seen so far.
Referenced by modem_connect_tones_rx_init().
| bool modem_connect_tones_rx_state_s::framing_ok_announced |
True if framing OK has been announced.
Referenced by modem_connect_tones_rx_init().
| int modem_connect_tones_rx_state_s::good_cycles |
A count of the number of good cycles of tone reversal seen.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().
| int modem_connect_tones_rx_state_s::hit |
The confirmed tone code.
Referenced by modem_connect_tones_rx_get(), and modem_connect_tones_rx_init().
| int32_t modem_connect_tones_rx_state_s::notch_level |
The in notch power estimate.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().
| int modem_connect_tones_rx_state_s::num_bits |
The current number of bits in the octet in progress.
Referenced by modem_connect_tones_rx_init().
| unsigned int modem_connect_tones_rx_state_s::raw_bit_stream |
The raw (stuffed) bit stream buffer.
Referenced by modem_connect_tones_rx_init().
| span_tone_report_func_t modem_connect_tones_rx_state_s::tone_callback |
Callback routine, using to report detection of the tone.
Referenced by modem_connect_tones_rx_init().
| int modem_connect_tones_rx_state_s::tone_cycle_duration |
A millisecond counter, to time the duration of tone sections.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().
| int modem_connect_tones_rx_state_s::tone_present |
The code for the tone currently confirmed present in the audio.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().
| int modem_connect_tones_rx_state_s::tone_type |
The tone type being detected.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().
| fsk_rx_state_t modem_connect_tones_rx_state_s::v21rx |
A V.21 FSK modem context used when searching for FAX preamble.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().
| float modem_connect_tones_rx_state_s::z15hz_1 |
The 15Hz AM filter state.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().
| float modem_connect_tones_rx_state_s::znotch_1 |
The notch filter state.
Referenced by modem_connect_tones_rx(), and modem_connect_tones_rx_init().