Main Page | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

super_tone_rx.c File Reference

#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include <ctype.h>
#include <time.h>
#include <inttypes.h>
#include "floating_fudge.h"
#include "spandsp/telephony.h"
#include "spandsp/fast_convert.h"
#include "spandsp/complex.h"
#include "spandsp/vector_float.h"
#include "spandsp/complex_vector_float.h"
#include "spandsp/tone_detect.h"
#include "spandsp/tone_generate.h"
#include "spandsp/super_tone_rx.h"
#include "spandsp/private/super_tone_rx.h"

Defines

#define DETECTION_THRESHOLD   269338317.0f
#define TONE_TWIST   3.981f
#define TONE_TO_TOTAL_ENERGY   1.995f
#define DTMF_TO_TOTAL_ENERGY   64.152f

Functions

 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (super_tone_rx_descriptor_t *)
 SPAN_DECLARE (void)
 Cleanup a T.30 context if the call terminates.
 SPAN_DECLARE (super_tone_rx_state_t *)

Detailed Description


Function Documentation

SPAN_DECLARE void   ) 
 

Cleanup a T.30 context if the call terminates.

Log the list of supported modulations.

Parameters:
s The V.8 context.
modulation_schemes The list of supported modulations.

SPAN_DECLARE super_tone_rx_descriptor_t *   ) 
 

Create a new supervisory tone detector descriptor.

Parameters:
desc The supervisory tone set desciptor. If NULL, the routine will allocate space for a descriptor.
Returns:
The supervisory tone set descriptor.

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Compress a block of octets.

Parameters:
s The V.42bis context.
buf The data to be compressed.
len The length of the data buffer.
Returns:
0


Generated on Fri Aug 28 20:12:28 2009 for spandsp by  doxygen 1.3.9.1