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

g711.c File Reference

#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "spandsp/telephony.h"
#include "spandsp/bit_operations.h"
#include "spandsp/g711.h"
#include "spandsp/private/g711.h"

Functions

 SPAN_DECLARE (uint8_t)
 Transcode from A-law to u-law, using the procedure defined in G.711.
 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (g711_state_t *)

Detailed Description


Function Documentation

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.

SPAN_DECLARE uint8_t   ) 
 

Transcode from A-law to u-law, using the procedure defined in G.711.

Parameters:
ulaw The u-law sample to transcode.
Returns:
The best matching A-law value.


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