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

tone_generate.c File Reference

#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <fcntl.h>
#include "floating_fudge.h"
#include "spandsp/telephony.h"
#include "spandsp/fast_convert.h"
#include "spandsp/dc_restore.h"
#include "spandsp/complex.h"
#include "spandsp/dds.h"
#include "spandsp/tone_generate.h"
#include "spandsp/private/tone_generate.h"

Defines

#define M_PI   3.14159265358979323846264338327
#define ms_to_samples(t)   (((t)*SAMPLE_RATE)/1000)

Functions

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

Detailed Description


Function Documentation

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

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.


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