gsm0610_decode.c File Reference

#include <assert.h>
#include <inttypes.h>
#include <stdlib.h>
#include <memory.h>
#include "spandsp/telephony.h"
#include "spandsp/dc_restore.h"
#include "spandsp/bitstream.h"
#include "spandsp/gsm0610.h"
#include "gsm0610_local.h"

Functions

int gsm0610_unpack_none (gsm0610_frame_t *s, const uint8_t c[])
int gsm0610_unpack_wav49 (gsm0610_frame_t *s, const uint8_t code[], int half)
int gsm0610_unpack_voip (gsm0610_frame_t *s, const uint8_t code[])
int gsm0610_decode (gsm0610_state_t *s, int16_t amp[], const uint8_t code[], int quant)

Detailed Description


Function Documentation

int gsm0610_decode ( gsm0610_state_t s,
int16_t  amp[],
const uint8_t  code[],
int  quant 
)

Decode a buffer of GSM 06.10 data to linear PCM.

Parameters:
s The GSM 06.10 context.
amp The audio sample buffer.
code The GSM 06.10 data.
quant The number of frames of GSM 06.10 data to be decoded.
Returns:
The number of samples returned.


Generated on Tue Jul 24 11:29:29 2007 for libspandsp by  doxygen 1.5.2