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

plc.c File Reference

#include <stdio.h>
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include "floating_fudge.h"
#include <limits.h>
#include "spandsp/telephony.h"
#include "spandsp/fast_convert.h"
#include "spandsp/saturated.h"
#include "spandsp/plc.h"

Defines

#define ATTENUATION_INCREMENT   0.0025f
#define ms_to_samples(t)   (((t)*SAMPLE_RATE)/1000)

Functions

 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (plc_state_t *)
 Initialise a PLC context.

Detailed Description


Function Documentation

SPAN_DECLARE plc_state_t  ) 
 

Initialise a PLC context.

Initialise a packet loss concealer context.

Parameters:
s The packet loss concealer context.
Returns:
A pointer to the the packet loss concealer context.

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Parameters:
s The ADSI receive context.
amp The audio sample buffer.
len The number of samples in the buffer.
Returns:
The number of samples unprocessed.


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