FreeSWITCH API Documentation  1.7.0
Data Fields
teletone_multi_tone_t Struct Reference

A container for a single multi-tone detection TELETONE_MAX_TONES dictates the maximum simultaneous tones that can be present in a multi-tone representation. More...

#include <libteletone_detect.h>

+ Collaboration diagram for teletone_multi_tone_t:

Data Fields

int sample_rate
 
teletone_detection_descriptor_t tdd [TELETONE_MAX_TONES]
 
teletone_goertzel_state_t gs [TELETONE_MAX_TONES]
 
teletone_goertzel_state_t gs2 [TELETONE_MAX_TONES]
 
int tone_count
 
float energy
 
int current_sample
 
int min_samples
 
int total_samples
 
int positives
 
int negatives
 
int hits
 
int positive_factor
 
int negative_factor
 
int hit_factor
 

Detailed Description

A container for a single multi-tone detection TELETONE_MAX_TONES dictates the maximum simultaneous tones that can be present in a multi-tone representation.

Definition at line 186 of file libteletone_detect.h.

Field Documentation

int teletone_multi_tone_t::current_sample

Definition at line 195 of file libteletone_detect.h.

float teletone_multi_tone_t::energy

Definition at line 194 of file libteletone_detect.h.

teletone_goertzel_state_t teletone_multi_tone_t::gs[TELETONE_MAX_TONES]

Definition at line 190 of file libteletone_detect.h.

teletone_goertzel_state_t teletone_multi_tone_t::gs2[TELETONE_MAX_TONES]

Definition at line 191 of file libteletone_detect.h.

int teletone_multi_tone_t::hit_factor

Definition at line 206 of file libteletone_detect.h.

int teletone_multi_tone_t::hits

Definition at line 202 of file libteletone_detect.h.

int teletone_multi_tone_t::min_samples

Definition at line 197 of file libteletone_detect.h.

int teletone_multi_tone_t::negative_factor

Definition at line 205 of file libteletone_detect.h.

int teletone_multi_tone_t::negatives

Definition at line 201 of file libteletone_detect.h.

int teletone_multi_tone_t::positive_factor

Definition at line 204 of file libteletone_detect.h.

int teletone_multi_tone_t::positives

Definition at line 200 of file libteletone_detect.h.

int teletone_multi_tone_t::sample_rate

Definition at line 187 of file libteletone_detect.h.

Referenced by switch_ivr_tone_detect_session().

Definition at line 189 of file libteletone_detect.h.

int teletone_multi_tone_t::tone_count

Definition at line 192 of file libteletone_detect.h.

int teletone_multi_tone_t::total_samples

Definition at line 198 of file libteletone_detect.h.


The documentation for this struct was generated from the following file: